void IInstructionProvider.AddInstructions(LightCompiler compiler) {
     compiler.Compile(_codeContextExpr);
     compiler.AddInstruction(new LookupGlobalInstruction(_name, _isLocal));
 }
 public void AddInstructions(LightCompiler compiler) {
     compiler.Compile(_value);
     compiler.AddInstruction(new PythonSetGlobalInstruction(_global.Global));
 }
Пример #3
0
 public void AddInstructions(LightCompiler compiler) {
     compiler.AddInstruction(_Instruction.Instance);
 }
 public void AddInstructions(LightCompiler compiler) {
     compiler.AddInstruction(new PythonGlobalInstruction(_global));
 }
 void IInstructionProvider.AddInstructions(LightCompiler compiler) {
     compiler.Compile(_scope);
     compiler.AddInstruction(new LookupGlobalInstruction(_name, _isLocal));
 }