Lines Matching refs:consume
155 def consume(self, *tokens): member in Lexer
600 lexer.consume(Token.EOF)
617 lexer.consume(assign_token)
634 self.lexer.consume(Token.IDENT)
651 lexer.consume(Token.IDENT)
659 lexer.consume(Token.STRING)
667 lexer.consume(Token.INTEGER)
686 lexer.consume(Token.LPAREN)
688 lexer.consume(Token.RPAREN)
698 lexer.consume(Token.PLUS)
707 lexer.consume(Token.LBRACKET)
711 lexer.consume(Token.COMMA)
712 lexer.consume(Token.RBRACKET)
723 lexer.consume(Token.LPAREN)
725 lexer.consume(Token.LBRACE)
733 lexer.consume(Token.ASSIGN)
735 lexer.consume(Token.COLON)
741 lexer.consume(Token.COMMA)
744 lexer.consume(Token.RPAREN)
746 lexer.consume(Token.RBRACE)