1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 10:27:45 +03:00

Rename statements to statementBlock

This commit is contained in:
joshvera 2017-08-16 20:49:18 -04:00
parent 9129618432
commit 17036cac3c

View File

@ -565,8 +565,8 @@ tupleType = makeTerm <$> symbol TupleType <*> children (Language.TypeScript.Synt
constructorTy :: Assignment
constructorTy = makeTerm <$> symbol ConstructorType <*> children (Language.TypeScript.Syntax.Constructor <$> (fromMaybe <$> emptyTerm <*> optional typeParameters) <*> formalParameters <*> ty)
statements :: Assignment
statements = makeTerm <$> location <*> many statement
statementBlock :: Assignment
statementBlock = makeTerm <$> symbol StatementBlock <*> children (many statement)
statement :: Assignment
statement =