Ejemplo n.º 1
0
 public bool Emit(afh.Reflection.ILGeneratorHelper gh, System.Reflection.Emit.Label label)
 {
     gh.EmitLdarg(1);
     gh.EmitLdc(this.c);
     gh.EmitBeq(label);
     return(true);
 }
Ejemplo n.º 2
0
            public bool Emit(afh.Reflection.ILGeneratorHelper gh, System.Reflection.Emit.Label label)
            {
                Emit::Label l = gh.CreateLabel();

                gh.EmitLdarg(1);
                gh.EmitLdc(this.c1);
                gh.EmitBltUnS(l);
                gh.EmitLdarg(1);
                gh.EmitLdc(this.c2);
                gh.EmitBleUn(label);
                gh.MarkLabel(l);
                return(true);
            }
Ejemplo n.º 3
0
 public bool Emit(afh.Reflection.ILGeneratorHelper gh, System.Reflection.Emit.Label label)
 {
     gh.EmitLdarg(1);
     gh.EmitLdc((byte)this.cat);
     gh.EmitCall(typeof(afh.Text.CharUtils), false, true, "Is", typeof(char), typeof(afh.Text.CLangCType));
     if (positive)
     {
         gh.EmitBrtrue(label);
     }
     else
     {
         gh.EmitBrfalse(label);
     }
     return(true);
 }
Ejemplo n.º 4
0
 public bool Emit(afh.Reflection.ILGeneratorHelper gh, System.Reflection.Emit.Label label)
 {
     return(false);
 }