Пример #1
0
        internal static InstructionStore Reserve(Instruction instruction, VariableValue context)
        {
            var store = _pool.Reserve();

            store.ContextName = instruction.ContextName;
            store.Context     = ResolveValue(instruction.ContextDefinition, context, instruction, _invalidContextError, store.ContextName);
            store._variableNames[store._variableNames.Length - 1] = store.ContextName;

            return(store);
        }
Пример #2
0
 internal static GraphDictionary Reserve()
 {
     return(_pool.Reserve());
 }