Add names to ast gen.
This commit is contained in:
parent
41693788fc
commit
cde6d18e5c
@ -1,4 +1,18 @@
|
|||||||
# $schema: ./ast.schema.yaml
|
# $schema: ./ast.schema.yaml
|
||||||
|
|
||||||
|
# Names
|
||||||
|
Identifier:
|
||||||
|
children:
|
||||||
|
- literal:
|
||||||
|
build:
|
||||||
|
type: string
|
||||||
|
from: parse_whole_pair
|
||||||
|
FullyQualifiedName:
|
||||||
|
children:
|
||||||
|
- identifiers:
|
||||||
|
rule: Identifier
|
||||||
|
vec: true
|
||||||
|
|
||||||
# Top-level constructs
|
# Top-level constructs
|
||||||
CompilationUnit:
|
CompilationUnit:
|
||||||
children:
|
children:
|
||||||
|
Loading…
Reference in New Issue
Block a user