Example #1
0
        public void TestAnd()
        {
            var and = new And(Constant.True, Constant.True);
            Assert.AreEqual("true && true", and.ToString());

            and.Jumping(42, 99);
            //output:
            //  	  goto L42
        }
Example #2
0
 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;
 }