public override bool Visit(AstNotExpression node) { ErrorIfIsNull(node.Expr); return true; }
public override bool Visit(AstNotExpression node) { return true; }
// #NOT_TEST NOT #NOT_TEST private void ConstructNotTest() { var expr = nodes.Pop() as AstExpression; var notExpr = new AstNotExpression(expr); PushNode(notExpr); }
public override bool Visit(AstNotExpression node) { IsNot = true; node.Expr.Accept(this); IsNot = false; return false; }
public override bool Visit(AstNotExpression node) { var type = resolver.Resolve(node.Expr); if (type != BuiltInTypes.BOOL) { DispatchError(node.TextPosition, "Boolean operations available only for bool types."); return false; } return true; }
public abstract bool Visit(AstNotExpression node);