Files
langkit/testsuite/tests/python_api/python_app/expected_concrete_syntax.lkt

13 lines
202 B
Plaintext
Raw Permalink Normal View History

import lexer_example
@with_lexer(foo_lexer)
grammar foo_grammar {
@main_rule main_rule <- Example("example")
}
@abstract class FooNode : Node {
}
class Example : FooNode implements TokenNode {
}