C# Class Mono.CSharp.BlockContext

Inheritance: ResolveContext
Afficher le fichier Open project: kumpera/mono Class Usage Examples

Méthodes publiques

Свойство Type Description
FlowOffset int
HasReturnLabel bool
ReturnLabel System.Reflection.Emit.Label

Méthodes publiques

Méthode Description
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

Method Details

BlockContext() public méthode

public BlockContext ( IMemberContext mc, ExplicitBlock block, System.TypeSpec returnType ) : System
mc IMemberContext
block ExplicitBlock
returnType System.TypeSpec
Résultat System

BlockContext() public méthode

public BlockContext ( ResolveContext rc, ExplicitBlock block, System.TypeSpec returnType ) : System
rc ResolveContext
block ExplicitBlock
returnType System.TypeSpec
Résultat System

EndFlowBranching() public méthode

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

KillFlowBranching() public méthode

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
Résultat void

NeedReturnLabel() public méthode

public NeedReturnLabel ( ) : void
Résultat void

StartFlowBranching() public méthode

Starts a new code branching for block `block'.
public StartFlowBranching ( Block block ) : Mono.CSharp.FlowBranching
block Block
Résultat Mono.CSharp.FlowBranching

StartFlowBranching() public méthode

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
Résultat Mono.CSharp.FlowBranching

StartFlowBranching() public méthode

public StartFlowBranching ( ExceptionStatement stmt ) : Mono.CSharp.FlowBranchingException
stmt ExceptionStatement
Résultat Mono.CSharp.FlowBranchingException

StartFlowBranching() public méthode

public StartFlowBranching ( Mono.CSharp.Iterator iterator, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingIterator
iterator Mono.CSharp.Iterator
parent Mono.CSharp.FlowBranching
Résultat Mono.CSharp.FlowBranchingIterator

StartFlowBranching() public méthode

public StartFlowBranching ( LabeledStatement stmt ) : Mono.CSharp.FlowBranchingLabeled
stmt LabeledStatement
Résultat Mono.CSharp.FlowBranchingLabeled

StartFlowBranching() public méthode

public StartFlowBranching ( ParametersBlock stmt, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingToplevel
stmt ParametersBlock
parent Mono.CSharp.FlowBranching
Résultat Mono.CSharp.FlowBranchingToplevel

StartFlowBranching() public méthode

public StartFlowBranching ( TryCatch stmt ) : Mono.CSharp.FlowBranchingTryCatch
stmt TryCatch
Résultat Mono.CSharp.FlowBranchingTryCatch

Property Details

FlowOffset public_oe property

public int FlowOffset
Résultat int

HasReturnLabel public_oe property

If we already defined the ReturnLabel
public bool HasReturnLabel
Résultat bool

ReturnLabel public_oe property

The location where return has to jump to return the value
public Label,System.Reflection.Emit ReturnLabel
Résultat System.Reflection.Emit.Label