public override bool Visit(AstBoolValueExpression node) { ErrorIfIsNull(node.Value); return true; }
public override bool Visit(AstBoolValueExpression node) { return true; }
// #BOOL_VALUE TRUE private void ConstructBoolTrueValue() { var boolVal = new AstBoolValueExpression(BoolValue.TRUE); PushNode(boolVal); }
// #BOOL_VALUE FALSE private void ConstructBoolFalseValue() { var boolVal = new AstBoolValueExpression(BoolValue.FALSE); PushNode(boolVal); }
public override bool Visit(AstBoolValueExpression node) { if (IsNot) { codeStream.WriteLine(CreateUnnamedVariable() + " = xor i1 1, " + GetBoolLLVM(node.Value)); } else { codeStream.WriteLine(CreateUnnamedVariable() + " = add i1 0, " + GetBoolLLVM(node.Value)); } SaveArg("i8 " + GetCurrUnnamedVariable()); return true; }
public abstract bool Visit(AstBoolValueExpression node);