1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Create a types group

This commit is contained in:
Rick Winfrey 2017-11-14 15:30:54 -08:00
parent e36799d4ef
commit d7573fc6c4

View File

@ -204,6 +204,26 @@ expressions = mk <$> location <*> many expression
mk _ [a] = a
mk loc children = makeTerm loc children
types :: Assignment
types = arrayType
<|> channelType
<|> functionType
<|> implicitLengthArrayType
<|> interfaceType
<|> mapType
<|> parenthesizedType
<|> pointerType
<|> qualifiedType
<|> sliceType
<|> structType
<|> typeAssertion
<|> typeConversion
<|> typeDeclaration
<|> typeIdentifier
<|> typeCase
<|> typeCaseClause
<|> typeSwitchGuard
<|> typeSwitchStatement
-- Literals