Package me.topchetoeu.j2s.compilation
Class Node
java.lang.Object
me.topchetoeu.j2s.compilation.Node
- Direct Known Subclasses:
ArgumentsNode
,ArrayNode
,AssignNode
,BoolNode
,BreakNode
,CallNode
,ChangeNode
,CompoundNode
,ContinueNode
,DebugNode
,DeleteNode
,DiscardNode
,DoWhileNode
,ForInNode
,ForNode
,FunctionNode
,GlobalThisNode
,IfNode
,IndexNode
,LazyAndNode
,LazyOrNode
,NullNode
,NumberNode
,ObjectNode
,OperationNode
,RegexNode
,ReturnNode
,StringNode
,SwitchNode
,ThisNode
,ThrowNode
,TryNode
,TypeofNode
,VariableAssignNode
,VariableDeclareNode
,VariableNode
,WhileNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(CompileResult target, boolean pollute) void
compile
(CompileResult target, boolean pollute, me.topchetoeu.j2s.common.Instruction.BreakpointType type) abstract void
compileFunctions
(CompileResult target) me.topchetoeu.j2s.common.Location
loc()
void
resolve
(CompileResult target) void
setLoc
(me.topchetoeu.j2s.common.Location loc)
-
Constructor Details
-
Node
protected Node(me.topchetoeu.j2s.common.Location loc)
-
-
Method Details
-
resolve
-
compile
public void compile(CompileResult target, boolean pollute, me.topchetoeu.j2s.common.Instruction.BreakpointType type) -
compile
-
compileFunctions
-
loc
public me.topchetoeu.j2s.common.Location loc() -
setLoc
public void setLoc(me.topchetoeu.j2s.common.Location loc)
-