| java.lang.Object gnu.expr.Expression gnu.expr.IncrementExp
IncrementExp | public class IncrementExp extends Expression (Code) | | Pre/post incrementation of a local variable.
author: Daniel Bonniot (bonniot@users.sf.net) |
Constructor Summary | |
public | IncrementExp(Declaration decl, short increment, boolean pre) Increment variable decl by increment,
and return its value.
The generated code is optimised. |
IncrementExp | public IncrementExp(Declaration decl, short increment, boolean pre)(Code) | | Increment variable decl by increment,
and return its value.
The generated code is optimised.
For instance, the returned value is not pushed if it is not used.
the value of decl after incrementation if pre is true (i.e. ++x);the old value if if pre is false (i.e. x++) |
|
|