private void PushToken(Token token) { this.lexer.PushToken(token); }
private bool IsBinaryOperator(int level, Token token) { return (token.Type == TokenType.Operator || token.Type == TokenType.Atom) && binaryoperators[level].Contains(token.Value); }
public void PushToken(Token token) { this.tokens.Push(token); }