public override void Visit(IBinaryOpToken t) { ExpNode operand2 = m_nodes.Pop(); ExpNode operand1 = m_nodes.Pop(); char op = char.Parse(t.ToString()); m_nodes.Push(Tables.BinaryOperatorsExpTable[op](operand1, operand2)); }
public override void Visit(IBinaryOpToken t) { char op = char.Parse(t.ToString()); SetPriority(Tables.BinaryOperatorsPriorityTable[op]); }