mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
🔤 expression choice
This commit is contained in:
parent
f145782dfe
commit
d89379ff94
@ -62,29 +62,29 @@ assignment = makeTerm <$> symbol SourceFile <*> children (Syntax.Program <$> man
|
|||||||
expression :: Assignment
|
expression :: Assignment
|
||||||
expression = choice
|
expression = choice
|
||||||
[ callExpression
|
[ callExpression
|
||||||
|
, channelType
|
||||||
, comment
|
, comment
|
||||||
, constVarDeclaration
|
, constVarDeclaration
|
||||||
, constVarSpecification
|
, constVarSpecification
|
||||||
, expressionList
|
, expressionList
|
||||||
, fieldDeclaration
|
, fieldDeclaration
|
||||||
, functionDeclaration
|
, functionDeclaration
|
||||||
|
, identifier
|
||||||
, importDeclaration
|
, importDeclaration
|
||||||
, importSpec
|
, importSpec
|
||||||
, typedIdentifier
|
, interpretedStringLiteral
|
||||||
|
, intLiteral
|
||||||
, methodDeclaration
|
, methodDeclaration
|
||||||
, methodSpec
|
, methodSpec
|
||||||
, packageClause
|
, packageClause
|
||||||
, parameterDeclaration
|
, parameterDeclaration
|
||||||
|
, rawStringLiteral
|
||||||
|
, sliceType
|
||||||
, structType
|
, structType
|
||||||
, typeDeclaration
|
, typeDeclaration
|
||||||
, typeIdentifier
|
, typeIdentifier
|
||||||
, channelType
|
, typedIdentifier
|
||||||
, identifier
|
|
||||||
, interpretedStringLiteral
|
|
||||||
, intLiteral
|
|
||||||
, typeLiteral
|
, typeLiteral
|
||||||
, rawStringLiteral
|
|
||||||
, structType
|
|
||||||
]
|
]
|
||||||
|
|
||||||
identifiers :: Assignment
|
identifiers :: Assignment
|
||||||
|
Loading…
Reference in New Issue
Block a user