RUN command.
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.
Constructors |
Initializes an instance of this class.
- Parameters:
aHostLine - Mapper report line that hosts this command.
aTargetReport - report or result where column names (or positions) are to be found.
aLabelNumber - a label number (or NEXT_LINE_LABEL ) to jump to if columns not found.
someColumns - columns who sizes are to be used to define variable sizes.
someDecls - variables declarations parsed from LDV command.
public DvsParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aTargetReport, java.lang.Integer aLabelNumber, java.util.List someColumns, java.util.List someDecls)
|
Initializes an instance of this class.
- Parameters:
aHostLine - Mapper report line that hosts this command.
aTargetReport - report or result where column names (or positions) are to be found.
aLabelVariable - variable that contains label to jump to if columns not found.
someColumns - columns who sizes are to be used to define variable sizes.
someDecls - variables declarations parsed from LDV command.
public DvsParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aTargetReport, com.arsi.mj.maprpt.lexer.ptree.expr.IVariableDerefExpr aLabelVariable, java.util.List someColumns, java.util.List someDecls)
|
Initializes an instance of this class.
- Parameters:
aHostLine - Mapper report line that hosts this command.
aTargetReport - report or result where column names (or positions) are to be found.
someColumns - columns who sizes are to be used to define variable sizes.
someDecls - variables declarations parsed from LDV command.
public DvsParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aTargetReport, java.util.List someColumns, java.util.List someDecls)
|
Methods |
public java.util.List declareScalarVariables()
|
Get names or positions of columns who sizes are to be used to define variable sizes.
- Returns:
- column names or positions.
public final java.util.List getColumns()
|
Get the literal label number to jump to if column names are not found.
- Returns:
- label number,
NEXT_LINE_LABEL , or NULL if label is variable reference
or no label specified in DVS command.
public final java.lang.Integer getLabelNumber()
|
Get variable that holds the label to jump to if column names are not found.
- Returns:
- variable dereference that contains label, NULL if label is a literal or no
label specified in
DVS command.
public final com.arsi.mj.maprpt.lexer.ptree.expr.IVariableDerefExpr getLabelVariable()
|
Get report or result that is target of DVS command.
- Returns:
- target report or result as cabinet-drawer-report specification.
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr getTargetReportOrResult()
|
Get variables declared by this DVS command whose size may be set
based on the size of the named columns (or length of specified column positions).
- Returns:
- declared variables.
public final java.util.List getVariables()
|
public java.util.List referencedVariables()
|