previous next contents
com.arsi.mj.maprpt.lexer.ptree.cmd.inc contains the following classes and interfaces.
Treat this class as "thread-hostile"; instances should be created, used
and discarded by single thread at a time.
Parse node that represents a
Treat this class as "thread-hostile" since it holds substantial state without
method synchronization; instances should only be used by single thread at a time.
Initializes an instance of this class.
aHostLine - Mapper report line that hosts this command.
anIncrExpr - increment as concatenation expression from
INC command; if
command omits the increment, a default is passed to this argument should never be NULL.
someSummands - summands as concatenation expressions parsed from
public IncParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr anIncrExpr, java.util.List someSummands)
public java.util.List declareScalarVariables()
Get increment (to be added to summands) as concatenation expression.
- concatenation expression that can be expected to contain a single variable reference
or literal to add to summands.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr getIncrement()
Get summands (variables to increment) as concatenation expressions.
- concatenation expressions that can be expected to contain (i) a single variable
references of different flavors, including array subscript, string bounds and
reformatting (ii) a two-part variable declaration (simple variable reference and
type/size as text, such as "i6", "f5" or "s20") or (iii) a three-part, floating point
variable declaration (simple variable reference and type/size as text, such as "f9"
followed by ".2"). While string bounds and reformatting are ignored at run-time by
Mapper, they are valid syntactically.
public final java.util.List getSummands()
public java.util.List referencedVariables()