Add support for 'extend' statement

This commit is contained in:
Bartłomiej Pluta
2019-07-12 00:28:33 +02:00
parent f459873574
commit ee91dbec8a
3 changed files with 72 additions and 71 deletions

View File

@@ -123,5 +123,6 @@ def FunctionDefinitionParser(input):
IdentifierLiteralParser,
ArgumentsDeclarationParser,
BlockParser,
createNode=lambda _, name, args, body: FunctionDefinition.withValues(name, args, body)
createNode=lambda _, name, args, body: FunctionDefinition.withValues(name, args, body),
name="function definition"
)(input)