mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
21 lines
349 B
Python
21 lines
349 B
Python
"""
|
|
Test various Unicode-related features in source buffer handling.
|
|
"""
|
|
|
|
from langkit.dsl import ASTNode
|
|
|
|
from utils import build_and_run
|
|
|
|
|
|
class FooNode(ASTNode):
|
|
pass
|
|
|
|
|
|
class Example(FooNode):
|
|
token_node = True
|
|
|
|
|
|
build_and_run(lkt_file='expected_concrete_syntax.lkt', py_script='main.py',
|
|
types_from_lkt=True)
|
|
print('Done')
|