C# Класс Mono.CSharp.BlockContext

Наследование: ResolveContext
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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