示例#1
0
    public void DoVarExp(DoVarExp e)
    {
	    il.Emit(OpCodes.Ldloc, (LocalBuilder)DoVars[e.Pos]);
    }
示例#2
0
    public void DoVarExp(DoVarExp e)
    {
	if (DoVars[e.Pos] == null){
	    e.ExpType = typeof(void);        //If Type still not known give it typeof(void)
	}                                    //It will get assumed with use. Checkint, checkbool...
	else{
	    e.ExpType = (Type)DoVars[e.Pos];
	}
	
    }