Class ChangeNode
java.lang.Object
me.topchetoeu.j2s.compilation.Node
me.topchetoeu.j2s.compilation.values.operations.ChangeNode
- Direct Known Subclasses:
PostfixNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ChangeTarget
final me.topchetoeu.j2s.common.Operation
final Node
-
Constructor Summary
ConstructorsConstructorDescriptionChangeNode
(me.topchetoeu.j2s.common.Location loc, ChangeTarget changable, Node value, me.topchetoeu.j2s.common.Operation op) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(CompileResult target, boolean pollute) void
compileFunctions
(CompileResult target) static ParseRes<ChangeNode>
parsePrefixDecrease
(Source src, int i) static ParseRes<ChangeNode>
parsePrefixIncrease
(Source src, int i)
-
Field Details
-
changable
-
value
-
op
public final me.topchetoeu.j2s.common.Operation op
-
-
Constructor Details
-
ChangeNode
public ChangeNode(me.topchetoeu.j2s.common.Location loc, ChangeTarget changable, Node value, me.topchetoeu.j2s.common.Operation op)
-
-
Method Details
-
compileFunctions
- Specified by:
compileFunctions
in classNode
-
compile
-
parsePrefixIncrease
-
parsePrefixDecrease
-