Inheritance: ConditionalExpression
Example #1
0
 public override void VisitAnd(AndExpression and)
 {
     Label falseLabel = ilGenerator.DefineLabel();
     Label endLabel = ilGenerator.DefineLabel();
     and.Left.Accept(this);
     ilGenerator.Emit(OpCodes.Brfalse, falseLabel);
     and.Right.Accept(this);
     ilGenerator.Emit(OpCodes.Br, endLabel);
     ilGenerator.MarkLabel(falseLabel);
     ilGenerator.Emit(OpCodes.Ldc_I4_0);
     ilGenerator.MarkLabel(endLabel);
 }
Example #2
0
 public override void VisitAnd(AndExpression and)
 {
     VisitCond(and);
 }
Example #3
0
File: node.cs Project: shugo/babel
 public virtual void VisitAnd(AndExpression and)
 {
 }