C# Class Mono.CSharp.Statement

Show file Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
loc Mono.CSharp.Location

Public Methods

Method Description
Clone ( CloneContext clonectx ) : Statement
CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
Emit ( EmitContext ec ) : void
PerformClone ( ) : Statement
Resolve ( BlockContext ec ) : bool

Resolves the statement, true means that all sub-statements did resolve ok.

ResolveUnreachable ( BlockContext ec, bool warn ) : bool

We already know that the statement is unreachable, but we still need to resolve it to catch errors.

Protected Methods

Method Description
CloneTo ( CloneContext clonectx, Statement target ) : void
DoEmit ( EmitContext ec ) : void

Return value indicates whether all code paths emitted return.

Method Details

Clone() public method

public Clone ( CloneContext clonectx ) : Statement
clonectx CloneContext
return Statement

CloneTo() protected abstract method

protected abstract CloneTo ( CloneContext clonectx, Statement target ) : void
clonectx CloneContext
target Statement
return void

CreateExpressionTree() public method

public CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
ec ResolveContext
return Mono.CSharp.Expression

DoEmit() protected abstract method

Return value indicates whether all code paths emitted return.
protected abstract DoEmit ( EmitContext ec ) : void
ec EmitContext
return void

Emit() public method

public Emit ( EmitContext ec ) : void
ec EmitContext
return void

PerformClone() public method

public PerformClone ( ) : Statement
return Statement

Resolve() public method

Resolves the statement, true means that all sub-statements did resolve ok.
public Resolve ( BlockContext ec ) : bool
ec BlockContext
return bool

ResolveUnreachable() public method

We already know that the statement is unreachable, but we still need to resolve it to catch errors.
public ResolveUnreachable ( BlockContext ec, bool warn ) : bool
ec BlockContext
warn bool
return bool

Property Details

loc public property

public Location,Mono.CSharp loc
return Mono.CSharp.Location