示例#1
0
 public void Set(Operand p_Arity, List <Instruction> p_Body, ChunkPosition p_ChunkPosition, Operand p_OriginalPosition)
 {
     Arity            = p_Arity;
     Body             = p_Body;
     ChunkPosition    = p_ChunkPosition;
     OriginalPosition = p_OriginalPosition;
 }
示例#2
0
 public Chunk(string p_moduleName, Library p_prelude)
 {
     program = new List <Instruction>();
     data    = new List <Unit>();
     globalVariablesAddresses = new Dictionary <string, Operand>();
     chunkPosition            = new ChunkPosition(new List <PositionData>());
     Prelude    = p_prelude;
     ModuleName = p_moduleName;
 }