parseIntegerLiteral parses an integer literal and returns the resulting IntegerLiteral expression.
(tokenType token.Type)
| 692 | |
| 693 | // parseIntegerLiteral parses an integer literal and returns the resulting IntegerLiteral expression. |
| 694 | func (p *Parser) isInfixOperator(tokenType token.Type) bool { |
| 695 | return tokenType == token.AND || tokenType == token.OR || tokenType == token.NOT |
| 696 | } |
| 697 | |
| 698 | // peekPrecedence returns the precedence of the next token in the input, if it is a known |
| 699 | // operator, or the lowest precedence otherwise. |
no outgoing calls
no test coverage detected