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