mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
(Program
|
|
(Module
|
|
(Identifier))
|
|
(Function
|
|
(Identifier)
|
|
(Args)
|
|
(Other "const_declaration"
|
|
(VarAssignment
|
|
(Other "identifier_list"
|
|
(Identifier))
|
|
(Other "expression_list"
|
|
(Other "composite_literal"
|
|
{ (Identifier)
|
|
->(Identifier) }
|
|
(Pair
|
|
(Identifier)
|
|
(StringLiteral))
|
|
(Pair
|
|
(Identifier)
|
|
(StringLiteral))))))
|
|
(Other "const_declaration"
|
|
(VarAssignment
|
|
(Other "identifier_list"
|
|
(Identifier))
|
|
(Other "expression_list"
|
|
(Other "composite_literal"
|
|
(StructTy
|
|
(FieldDecl
|
|
(Other "identifier_list"
|
|
(Identifier))
|
|
{ (Identifier)
|
|
->(Identifier) }))
|
|
(Pair
|
|
{ (Identifier)
|
|
->(Identifier) }
|
|
{ (NumberLiteral)
|
|
->(NumberLiteral) })))))
|
|
(Other "const_declaration"
|
|
(VarAssignment
|
|
(Other "identifier_list"
|
|
(Identifier))
|
|
(Other "expression_list"
|
|
(Other "composite_literal"
|
|
{ (QualifiedIdentifier)
|
|
->(QualifiedIdentifier) }))))))
|