Esempio n. 1
0
 internal LocalJumpError(string /*!*/ message, RuntimeFlowControl /*!*/ skipFrame)
     : this(message, (Exception)null)
 {
     Assert.NotNull(message, skipFrame);
     _skipFrame = skipFrame;
 }
Esempio n. 2
0
 internal RubyBlockScope(RubyScope/*!*/ parent, RuntimeFlowControl/*!*/ runtimeFlowControl, object selfObject)
     : base(parent, runtimeFlowControl, selfObject) {
 }
Esempio n. 3
0
 internal RubyTopLevelScope(RubyGlobalScope/*!*/ globalScope, RubyModule definitionsModule, RuntimeFlowControl/*!*/ runtimeFlowControl, object selfObject)
     : base(runtimeFlowControl, selfObject) {
     Assert.NotNull(globalScope);
     _globalScope = globalScope;
     _context = globalScope.Context;
     _definitionsModule = definitionsModule;
 }
Esempio n. 4
0
 internal RubyMethodScope(RubyScope/*!*/ parent, RubyMethodInfo/*!*/ method, Proc blockParameter, RuntimeFlowControl/*!*/ runtimeFlowControl, 
     object selfObject)
     : base(parent, runtimeFlowControl, selfObject) {
     _method = method;
     _blockParameter = blockParameter;
     MethodAttributes = RubyMethodAttributes.PublicInstance;
 }
Esempio n. 5
0
 internal RubyModuleScope(RubyScope/*!*/ parent, RubyModule module, bool isEval,
     RuntimeFlowControl/*!*/ runtimeFlowControl, object selfObject)
     : base(parent, runtimeFlowControl, selfObject) {
     _module = module;
     _isEval = isEval;
     MethodAttributes = RubyMethodAttributes.PublicInstance;
 }
Esempio n. 6
0
 internal LocalJumpError(string/*!*/ message, RuntimeFlowControl/*!*/ skipFrame)
     : this(message, (Exception)null)
 {
     Assert.NotNull(message, skipFrame);
     _skipFrame = skipFrame;
 }
Esempio n. 7
0
 internal RubyTopLevelScope(RubyGlobalScope/*!*/ globalScope, RubyModule scopeModule, RubyModule methodLookupModule,
     RuntimeFlowControl/*!*/ runtimeFlowControl, object selfObject)
     : base(runtimeFlowControl, selfObject) {
     Assert.NotNull(globalScope);
     _globalScope = globalScope;
     _context = globalScope.Context;
     _wrappingModule = scopeModule;
     _methodLookupModule = methodLookupModule;
 }
Esempio n. 8
0
 internal RubyBlockScope(RubyScope/*!*/ parent, RuntimeFlowControl/*!*/ runtimeFlowControl, BlockParam/*!*/ blockFlowControl, object selfObject)
     : base(parent, runtimeFlowControl, selfObject) {
     Assert.NotNull(blockFlowControl);
     _blockFlowControl = blockFlowControl;
 }
Esempio n. 9
0
 internal RubyMethodScope(RubyScope/*!*/ parent, RubyModule/*!*/ declaringModule, string/*!*/ definitionName, Proc blockParameter, 
     RuntimeFlowControl/*!*/ runtimeFlowControl, object selfObject)
     : base(parent, runtimeFlowControl, selfObject) {
     _declaringModule = declaringModule;
     _definitionName = definitionName;
     _blockParameter = blockParameter;
     MethodAttributes = RubyMethodAttributes.PublicInstance;
 }
Esempio n. 10
0
 protected Proc(Proc /*!*/ proc)
     : this(proc.Kind, proc.Self, proc.LocalScope, proc.Dispatcher)
 {
     _owner     = proc._owner;
     _converter = proc._converter;
 }