C# Class Rhino.NodeTransformer

This class transforms a tree to a lower-level representation for codegen.
This class transforms a tree to a lower-level representation for codegen.
Show file Open project: hazzik/Rhino.Net

Public Methods

Method Description
NodeTransformer ( ) : System.Collections.Generic
Transform ( ScriptNode tree ) : void

Protected Methods

Method Description
VisitCall ( Node node, ScriptNode tree ) : void
VisitLet ( bool createWith, Node parent, Node previous, Node scopeNode ) : Node
VisitNew ( Node node, ScriptNode tree ) : void

Private Methods

Method Description
AddBeforeCurrent ( Node parent, Node previous, Node current, Node toAdd ) : Node
ReplaceCurrent ( Node parent, Node previous, Node current, Node replacement ) : Node
TransformCompilationUnit ( ScriptNode tree ) : void
TransformCompilationUnit_r ( ScriptNode tree, Node parent, Scope scope, bool createScopeObjects, bool inStrictMode ) : void

Method Details

NodeTransformer() public method

public NodeTransformer ( ) : System.Collections.Generic
return System.Collections.Generic

Transform() public method

public Transform ( ScriptNode tree ) : void
tree Rhino.Ast.ScriptNode
return void

VisitCall() protected method

protected VisitCall ( Node node, ScriptNode tree ) : void
node Node
tree Rhino.Ast.ScriptNode
return void

VisitLet() protected method

protected VisitLet ( bool createWith, Node parent, Node previous, Node scopeNode ) : Node
createWith bool
parent Node
previous Node
scopeNode Node
return Node

VisitNew() protected method

protected VisitNew ( Node node, ScriptNode tree ) : void
node Node
tree Rhino.Ast.ScriptNode
return void