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

Dive in to constant's children

Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
This commit is contained in:
joshvera 2018-07-20 15:19:57 -04:00
parent 4ffe88e4b9
commit 1a8941fc7c

View File

@ -372,7 +372,7 @@ interface = makeTerm <$> symbol InterfaceDeclaration <*> children (normal <|> an
extends = symbol ExtendsInterfaces *> children (symbol InterfaceTypeList *> children (manyTerm type'))
constant :: Assignment Term
constant = makeTerm <$> symbol ConstantDeclaration <*> ((,) <$> pure [] <*> typeIdentifier <**> variableDeclaratorList)
constant = makeTerm <$> symbol ConstantDeclaration <*> children ((,) <$> pure [] <*> typeIdentifier <**> variableDeclaratorList)
package :: Assignment Term
package = makeTerm <$> symbol PackageDeclaration <*> children (Java.Syntax.Package <$> someTerm expression)