C# Class IronRuby.Compiler.Ast.ConditionalStatement

Represents if- and unless- statements. Also used for (condition) ? jump-statement : jump-statement.
Inheritance: Expression
Exibir arquivo Open project: ExpertsInside/IronSP Class Usage Examples

Public Methods

Method Description
ConditionalStatement ( Expression condition, bool negateCondition, Expression body, Expression elseStatement, Microsoft.Scripting.SourceSpan location ) : Microsoft.Scripting

Protected Methods

Method Description
Walk ( Walker walker ) : void

Private Methods

Method Description
Transform ( AstGenerator gen ) : Expression
TransformRead ( AstGenerator gen ) : Expression

Method Details

ConditionalStatement() public method

public ConditionalStatement ( Expression condition, bool negateCondition, Expression body, Expression elseStatement, Microsoft.Scripting.SourceSpan location ) : Microsoft.Scripting
condition Expression
negateCondition bool
body Expression
elseStatement Expression
location Microsoft.Scripting.SourceSpan
return Microsoft.Scripting

Walk() protected method

protected Walk ( Walker walker ) : void
walker Walker
return void