public void TestOr() { var or = new Or(Constant.False, Constant.False); Assert.AreEqual("false || false", or.ToString()); or.Jumping(42, 99); //output: // goto L99 }
public Expr Bool() { Expr expr = this.Join(); while (_look.TagValue == Tag.OR) { //var tok = _look; this.Move(); expr = new Or(expr, this.Join()); } return(expr); }
public Expr Bool() { Expr expr = this.Join(); while(_look.TagValue == Tag.OR) { //var tok = _look; this.Move(); expr = new Or(expr, this.Join()); } return expr; }