public ExpNode(ExpressionNode leftOperand, ExpressionNode rightOperand) : base(leftOperand, rightOperand) { rules["IntType,IntType"] = new IntType(); rules["IntType,BoolType"] = new IntType(); rules["BoolType,IntType"] = new IntType(); }
public static void InitTypes() { types["int"] = new IntType(); types["bool"] = new BoolType(); }