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; }
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; }