internal EvalUnwinder(BlockReturnReason reason, RuntimeFlowControl targetFrame, ProcKind sourceProcKind, object returnValue) : base(returnValue) { Reason = reason; _targetFrame = targetFrame; _sourceProcKind = sourceProcKind; }
internal Proc(ProcKind kind, object self, RubyScope/*!*/ scope, BlockDispatcher/*!*/ dispatcher) { Assert.NotNull(scope, dispatcher); _kind = kind; _self = self; _scope = scope; _dispatcher = dispatcher; }
internal void SetFlowControl(BlockReturnReason reason, RuntimeFlowControl targetFrame, ProcKind sourceProcKind) { Debug.Assert((reason == BlockReturnReason.Break) == (targetFrame != null)); _returnReason = reason; _targetFrame = targetFrame; _sourceProcKind = sourceProcKind; }
internal Proc(ProcKind kind, object self, RubyScope /*!*/ scope, BlockDispatcher /*!*/ dispatcher) { Assert.NotNull(scope, dispatcher); _kind = kind; _self = self; _scope = scope; _dispatcher = dispatcher; }
internal Proc(object self, Proc block, MethodBody body, int arity, ProcKind kind) : base(Ruby.Runtime.Init.rb_cProc) { this.self = self; this.block = block; this.body = body; this.kind = kind; this._arity = arity; }
public int GetProcCountLines(string procName, ProcKind procKind) { return(Target.get_ProcCountLines(procName, (vbext_ProcKind)procKind)); }
public int GetProcBodyStartLine(string procName, ProcKind procKind) { return(Target.get_ProcBodyLine(procName, (vbext_ProcKind)procKind)); }
public int GetProcCountLines(string procName, ProcKind procKind) { return(IsWrappingNullReference ? 0 : Target.get_ProcCountLines(procName, (vbext_ProcKind)procKind)); }
public int GetProcBodyStartLine(string procName, ProcKind procKind) { return(IsWrappingNullReference ? 0 : Target.get_ProcBodyLine(procName, (vbext_ProcKind)procKind)); }
internal Proc(ProcKind kind, object self, RubyScope/*!*/ scope, string sourcePath, int sourceLine, BlockDispatcher/*!*/ dispatcher) { Assert.NotNull(scope, dispatcher); _kind = kind; _self = self; _scope = scope; _dispatcher = dispatcher; _sourcePath = sourcePath; _sourceLine = sourceLine; }
// ---------------------------------------------------------------------------- public Proc(Class klass) : base(klass) { this.kind = ProcKind.RawProc; }
public int GetProcCountLines(string procName, ProcKind procKind) { throw new NotImplementedException(); }
public int GetProcBodyStartLine(string procName, ProcKind procKind) { throw new NotImplementedException(); }