C# Class While.AST.Statements.If

If-Else branching
Inheritance: Statement
Mostra file Open project: einaregilsson/While-Language Class Usage Examples

Public Methods

Method Description
Compile ( ILGenerator il ) : void
If ( TypedExpression exp, StatementSequence ifBranch, StatementSequence elseBranch ) : System
ToString ( ) : string

Method Details

Compile() public method

public Compile ( ILGenerator il ) : void
il System.Reflection.Emit.ILGenerator
return void

If() public method

public If ( TypedExpression exp, StatementSequence ifBranch, StatementSequence elseBranch ) : System
exp TypedExpression
ifBranch While.AST.Sequences.StatementSequence
elseBranch While.AST.Sequences.StatementSequence
return System

ToString() public method

public ToString ( ) : string
return string