C# Class IronPython.Compiler.Ast.ScopeStatement.DelayedProfiling

Reducible node so that re-writing for profiling does not occur until after the script code has been completed and is ready to be compiled. Without this extra node profiling would force reduction of the node and we wouldn't have setup our constant access correctly yet.
Inheritance: System.Linq.Expressions.Expression
Datei anzeigen Open project: jschementi/iron

Public Methods

Method Description
DelayedProfiling ( ScopeStatement ast, System.Linq.Expressions body, System.Linq.Expressions tick ) : System
Reduce ( ) : Expression

Protected Methods

Method Description
VisitChildren ( System.Linq.Expressions visitor ) : Expression

Method Details

DelayedProfiling() public method

public DelayedProfiling ( ScopeStatement ast, System.Linq.Expressions body, System.Linq.Expressions tick ) : System
ast ScopeStatement
body System.Linq.Expressions
tick System.Linq.Expressions
return System

Reduce() public method

public Reduce ( ) : Expression
return System.Linq.Expressions.Expression

VisitChildren() protected method

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