C# Class IronRuby.Compiler.Ast.ConditionalExpression

Lightweight form of if-then-else-end expression. Used for ternary ?: operator.
Inheritance: Expression
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
ConditionalExpression ( Expression condition, Expression trueExpression, Expression falseExpression, Microsoft.Scripting.SourceSpan location ) : Microsoft.Scripting

Private Methods

Méthode Description
TransformRead ( AstGenerator gen ) : Expression

Method Details

ConditionalExpression() public méthode

public ConditionalExpression ( Expression condition, Expression trueExpression, Expression falseExpression, Microsoft.Scripting.SourceSpan location ) : Microsoft.Scripting
condition Expression
trueExpression Expression
falseExpression Expression
location Microsoft.Scripting.SourceSpan
Résultat Microsoft.Scripting