Class AssignNode
java.lang.Object
me.topchetoeu.j2s.compilation.Node
me.topchetoeu.j2s.compilation.values.operations.AssignNode
- All Implemented Interfaces:
AssignTarget
,AssignTargetLike
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssignNode
(me.topchetoeu.j2s.common.Location loc, AssignTarget assignable, Node value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAssign
(CompileResult target, boolean pollute) Called to perform the actual assignemnt.void
compile
(CompileResult target, boolean pollute) void
compileFunctions
(CompileResult target) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.topchetoeu.j2s.compilation.patterns.AssignTarget
assign, beforeAssign, loc, toAssignTarget
-
Field Details
-
assignable
-
value
-
-
Constructor Details
-
AssignNode
-
-
Method Details
-
compileFunctions
- Specified by:
compileFunctions
in classNode
-
compile
-
afterAssign
Description copied from interface:AssignTarget
Called to perform the actual assignemnt. Between the `beforeAssign` and this call a single value will have been pushed to the stack- Specified by:
afterAssign
in interfaceAssignTarget
pollute
- Whether or not to leave the original value on the stack
-