Create note literal node

This commit is contained in:
Bartłomiej Pluta
2019-07-05 18:39:41 +02:00
parent 425d23eb5f
commit bacaeb0005
3 changed files with 14 additions and 2 deletions

View File

@@ -7,5 +7,5 @@ class IntegerLiteralNode(ExpressionNode):
@classmethod
def _parse(cls, input):
createNode = lambda v, pos: IntegerLiteralNode.withValue(pos, v)
createNode = lambda v, pos: IntegerLiteralNode.withValue(v, pos)
return Parser.terminalParser(TokenType.INTEGER, createNode)(input)