Files
2026-01-20 16:03:43 +00:00

16 lines
276 B
Plaintext

# Test getting the filename corresponding to an analysis unit
from lexer_example import foo_lexer
@with_lexer(foo_lexer)
grammar foo_grammar {
@main_rule main_rule <- Example("example")
}
@abstract
class FooNode implements Node[FooNode] {
}
class Example: FooNode {
}