C# 클래스 IronRuby.Runtime.BlockParam

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BlockJumped bool
BlockParam System
BuildInvoke void
GetUnwinderResult object
SetFlowControl void

공개 메소드들

메소드 설명
Break ( object returnValue ) : object

Breaks from the current block.

PropagateFlow ( BlockParam yieldedBlock, object returnValue ) : object

Propagates control flow (break/return) from the yielded block to the enclosing block.

Returning ( object returnValue, object &result ) : bool
Yield ( object &blockResult ) : bool
Yield ( object arg1, object &blockResult ) : bool
Yield ( object arg1, object arg2, object &blockResult ) : bool
Yield ( object arg1, object arg2, object arg3, object &blockResult ) : bool
Yield ( object arg1, object arg2, object arg3, object arg4, object &blockResult ) : bool
YieldSplat ( IList args, object &blockResult ) : bool

비공개 메소드들

메소드 설명
BlockJumped ( object returnValue ) : bool

Must be called on the result of RubyOps.Yield. Implements post-yield control flow operation.

Used by library methods that take a block. The binder creates an instance of BlockParam holding on RFC if necessary. A library method that creates a block yet doesn't take one needs to manage RFC on its own.

BlockParam ( Proc proc, BlockCallerKind callerKind, bool isLibProcConverter ) : System
BuildInvoke ( MetaObjectBuilder metaBuilder, CallArguments args ) : void

"yields" to the proc.

GetUnwinderResult ( EvalUnwinder unwinder ) : object
SetFlowControl ( BlockReturnReason reason, IronRuby.Runtime.RuntimeFlowControl targetFrame, ProcKind sourceProcKind ) : void

메소드 상세

Break() 공개 메소드

Breaks from the current block.
public Break ( object returnValue ) : object
returnValue object
리턴 object

PropagateFlow() 공개 메소드

Propagates control flow (break/return) from the yielded block to the enclosing block.
public PropagateFlow ( BlockParam yieldedBlock, object returnValue ) : object
yieldedBlock BlockParam
returnValue object
리턴 object

Returning() 공개 메소드

public Returning ( object returnValue, object &result ) : bool
returnValue object
result object
리턴 bool

Yield() 공개 메소드

public Yield ( object &blockResult ) : bool
blockResult object
리턴 bool

Yield() 공개 메소드

public Yield ( object arg1, object &blockResult ) : bool
arg1 object
blockResult object
리턴 bool

Yield() 공개 메소드

public Yield ( object arg1, object arg2, object &blockResult ) : bool
arg1 object
arg2 object
blockResult object
리턴 bool

Yield() 공개 메소드

public Yield ( object arg1, object arg2, object arg3, object &blockResult ) : bool
arg1 object
arg2 object
arg3 object
blockResult object
리턴 bool

Yield() 공개 메소드

public Yield ( object arg1, object arg2, object arg3, object arg4, object &blockResult ) : bool
arg1 object
arg2 object
arg3 object
arg4 object
blockResult object
리턴 bool

YieldSplat() 공개 메소드

public YieldSplat ( IList args, object &blockResult ) : bool
args IList
blockResult object
리턴 bool