public override void Visit(NotExpressionNode node) { node.expression.Accept(this); Gen("xor", "eax", "1"); }
public override void Visit(NotExpressionNode node) { node.expression.Accept(this); if (!AreTypeCompatible(node.expression.ExpressionType.GetType(), typeof(BooleanType))) throw new Exception("Expression for ! operation is not of type Boolean!"); node.ExpressionType = BooleanType.Instance; }
public virtual void Visit(NotExpressionNode node) { node.expression.Accept(this); }
public override void Visit(NotExpressionNode node) { Console.WriteLine(this.indentation + "!"); indentation = indentation + " "; node.expression.Accept(this); indentation = indentation.Substring(0, indentation.Length - 3); }