public void TestAnd() { var and = new And(Constant.True, Constant.True); Assert.AreEqual("true && true", and.ToString()); and.Jumping(42, 99); //output: // goto L42 }
public Expr Join() { Expr expr = this.Equality(); while(_look.TagValue == Tag.AND) { //var tok = _look; this.Move(); expr = new And(expr, this.Equality()); } return expr; }