示例#1
0
文件: Context.cs 项目: Djuffin/jcc
 /// <summary>
 /// Enumerates all objects in this context
 /// </summary>
 /// <returns>Array of code objects</returns>
 public CodeObject[] EnumAllObjects()
 {
     CodeObject[] vars = new CodeObject[map.Values.Count];
     map.Values.CopyTo(vars, 0);
     return(vars);
 }
示例#2
0
 public override void GenerateStore(CodeObject value)
 {
     value.GenerateCode();
     ILTypeTranslator.GenerateImplicitCast(IL, value.Type, Type);
     GenerateStore();
 }