Open frostburn opened 1 month ago
It would be nice if Rule.name and maybe even Rule.displayName were available inside action blocks.
Rule.name
Rule.displayName
Use case:
FooLiteral = "foo" { return { type: ruleName, // type: "FooLiteral" location: location(), }; }
Here ruleName is a block scope constant, but it could also be a callable i.e. ruleName() if that's easier to implement.
ruleName
ruleName()
It would be nice if
Rule.name
and maybe evenRule.displayName
were available inside action blocks.Use case:
Here
ruleName
is a block scope constant, but it could also be a callable i.e.ruleName()
if that's easier to implement.