Package eu.bandm.tools.lljava.absy
Class Inc
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class Inc
extends ArithInstruction
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":674.6-9, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":674.6-9, see this pretty print.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intGenerated by umod; model author's documentation MISSING.protected VariableAccessGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.Instruction
post, pre -
Constructor Summary
ConstructorsConstructorDescriptionInc(VariableAccess target, int increment) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.intGenerated by umod; model author's documentation MISSING.get_increment(Pattern<? super Integer> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_target(Pattern<? super VariableAccess> p) Lifts a pattern which matches the field value to one which matches this whole object.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.booleanset_increment(int val) Generated by umod; model author's documentation MISSING.booleanset_target(VariableAccess val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.Instruction
get_post, get_post, get_pre, get_pre, set_post, set_preMethods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
target
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":675.1-7, see this pretty print.)
The type of this field isVariableAccess(nevernull)
It is set by every possible constructor.
- See Also:
-
increment
protected int incrementGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":676.1-10, see this pretty print.)
The type of this field is int(nevernull)
It is set by every possible constructor.
- See Also:
-
-
Constructor Details
-
Method Details
-
doclone
- Overrides:
doclonein classArithInstruction- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'inc' target increment
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classArithInstruction- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.- Overrides:
initFromin classArithInstruction
-
get_target
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":675.1-7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
VariableAccess(nevernull) - See Also:
-
set_target
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":675.1-7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeVariableAccess(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_increment
public int get_increment()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":676.1-10, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type int(never
null) - See Also:
-
set_increment
public boolean set_increment(int val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":676.1-10, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of type int(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_target
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_increment
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns.
-