C# 클래스 Mono.CSharp.BlockContext

상속: ResolveContext
파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FlowOffset int
HasReturnLabel bool
ReturnLabel System.Reflection.Emit.Label

공개 메소드들

메소드 설명
BlockContext ( IMemberContext mc, ExplicitBlock block, System.TypeSpec returnType ) : System
BlockContext ( ResolveContext rc, ExplicitBlock block, System.TypeSpec returnType ) : System
EndFlowBranching ( ) : bool

Ends a code branching. Merges the state of locals and parameters from all the children of the ending branching.

KillFlowBranching ( ) : void

Kills the current code branching. This throws away any changed state information and should only be used in case of an error.

NeedReturnLabel ( ) : void
StartFlowBranching ( Block block ) : Mono.CSharp.FlowBranching

Starts a new code branching for block `block'.

StartFlowBranching ( Mono.CSharp.FlowBranching type, Mono.CSharp.Location loc ) : Mono.CSharp.FlowBranching

Starts a new code branching. This inherits the state of all local variables and parameters from the current branching.

StartFlowBranching ( ExceptionStatement stmt ) : Mono.CSharp.FlowBranchingException
StartFlowBranching ( Mono.CSharp.Iterator iterator, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingIterator
StartFlowBranching ( LabeledStatement stmt ) : Mono.CSharp.FlowBranchingLabeled
StartFlowBranching ( ParametersBlock stmt, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingToplevel
StartFlowBranching ( TryCatch stmt ) : Mono.CSharp.FlowBranchingTryCatch

메소드 상세

BlockContext() 공개 메소드

public BlockContext ( IMemberContext mc, ExplicitBlock block, System.TypeSpec returnType ) : System
mc IMemberContext
block ExplicitBlock
returnType System.TypeSpec
리턴 System

BlockContext() 공개 메소드

public BlockContext ( ResolveContext rc, ExplicitBlock block, System.TypeSpec returnType ) : System
rc ResolveContext
block ExplicitBlock
returnType System.TypeSpec
리턴 System

EndFlowBranching() 공개 메소드

Ends a code branching. Merges the state of locals and parameters from all the children of the ending branching.
public EndFlowBranching ( ) : bool
리턴 bool

KillFlowBranching() 공개 메소드

Kills the current code branching. This throws away any changed state information and should only be used in case of an error.
public KillFlowBranching ( ) : void
리턴 void

NeedReturnLabel() 공개 메소드

public NeedReturnLabel ( ) : void
리턴 void

StartFlowBranching() 공개 메소드

Starts a new code branching for block `block'.
public StartFlowBranching ( Block block ) : Mono.CSharp.FlowBranching
block Block
리턴 Mono.CSharp.FlowBranching

StartFlowBranching() 공개 메소드

Starts a new code branching. This inherits the state of all local variables and parameters from the current branching.
public StartFlowBranching ( Mono.CSharp.FlowBranching type, Mono.CSharp.Location loc ) : Mono.CSharp.FlowBranching
type Mono.CSharp.FlowBranching
loc Mono.CSharp.Location
리턴 Mono.CSharp.FlowBranching

StartFlowBranching() 공개 메소드

public StartFlowBranching ( ExceptionStatement stmt ) : Mono.CSharp.FlowBranchingException
stmt ExceptionStatement
리턴 Mono.CSharp.FlowBranchingException

StartFlowBranching() 공개 메소드

public StartFlowBranching ( Mono.CSharp.Iterator iterator, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingIterator
iterator Mono.CSharp.Iterator
parent Mono.CSharp.FlowBranching
리턴 Mono.CSharp.FlowBranchingIterator

StartFlowBranching() 공개 메소드

public StartFlowBranching ( LabeledStatement stmt ) : Mono.CSharp.FlowBranchingLabeled
stmt LabeledStatement
리턴 Mono.CSharp.FlowBranchingLabeled

StartFlowBranching() 공개 메소드

public StartFlowBranching ( ParametersBlock stmt, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingToplevel
stmt ParametersBlock
parent Mono.CSharp.FlowBranching
리턴 Mono.CSharp.FlowBranchingToplevel

StartFlowBranching() 공개 메소드

public StartFlowBranching ( TryCatch stmt ) : Mono.CSharp.FlowBranchingTryCatch
stmt TryCatch
리턴 Mono.CSharp.FlowBranchingTryCatch

프로퍼티 상세

FlowOffset 공개적으로 프로퍼티

public int FlowOffset
리턴 int

HasReturnLabel 공개적으로 프로퍼티

If we already defined the ReturnLabel
public bool HasReturnLabel
리턴 bool

ReturnLabel 공개적으로 프로퍼티

The location where return has to jump to return the value
public Label,System.Reflection.Emit ReturnLabel
리턴 System.Reflection.Emit.Label