C# Class Microsoft.Scripting.Ast.LightCheckAndThrowExpression

Provides a method call to a method which may return light exceptions. The call is to a method which supports light exceptions. When reducing an additional check and throw is added. When a block code of is re-written for light exceptions this instead reduces to not throw a .NET exception.
Inheritance: Expression, ILightExceptionAwareExpression
Datei anzeigen Open project: jschementi/iron

Public Methods

Method Description
Reduce ( ) : Expression

Protected Methods

Method Description
VisitChildren ( ExpressionVisitor visitor ) : Expression

Private Methods

Method Description
ILightExceptionAwareExpression ( ) : Expression
LightCheckAndThrowExpression ( Expression instance ) : System.Linq.Expressions

Method Details

Reduce() public method

public Reduce ( ) : Expression
return Expression

VisitChildren() protected method

protected VisitChildren ( ExpressionVisitor visitor ) : Expression
visitor System.Linq.Expressions.ExpressionVisitor
return Expression