1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00

🔤 expression choice

This commit is contained in:
Rick Winfrey 2017-09-19 15:35:30 -07:00
parent f145782dfe
commit d89379ff94

View File

@ -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