Package me.topchetoeu.j2s.compilation
Class FunctionStatementNode
java.lang.Object
me.topchetoeu.j2s.compilation.Node
me.topchetoeu.j2s.compilation.FunctionNode
me.topchetoeu.j2s.compilation.FunctionStatementNode
-
Field Summary
FieldsFields inherited from class me.topchetoeu.j2s.compilation.FunctionNode
body, end, params
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionStatementNode
(me.topchetoeu.j2s.common.Location loc, me.topchetoeu.j2s.common.Location end, List<VariableNode> params, CompoundNode body, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(CompileResult target, boolean pollute, String name, me.topchetoeu.j2s.common.Instruction.BreakpointType bp) void
compileFunctions
(CompileResult target) name()
void
resolve
(CompileResult target) Methods inherited from class me.topchetoeu.j2s.compilation.FunctionNode
captures, compile, compile, compile, compileBody, compileBody, compileWithName, compileWithName, name, parseFunction, rootEnv
-
Field Details
-
name
-
-
Constructor Details
-
FunctionStatementNode
public FunctionStatementNode(me.topchetoeu.j2s.common.Location loc, me.topchetoeu.j2s.common.Location end, List<VariableNode> params, CompoundNode body, String name)
-
-
Method Details
-
name
- Specified by:
name
in classFunctionNode
-
resolve
- Overrides:
resolve
in classFunctionNode
-
compileFunctions
- Specified by:
compileFunctions
in classNode
-
compile
public void compile(CompileResult target, boolean pollute, String name, me.topchetoeu.j2s.common.Instruction.BreakpointType bp) - Specified by:
compile
in classFunctionNode
-