Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.

 

Package: com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps  previous next contents

Package com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps contains the following classes and interfaces.
Classes and Interfaces
ConcatExprJumpInfo Conveys information about a branch in a Mapper command that transfers control to another label or line in the same RUN, or another report in the same cabinet and drawer, based on a run-time expression.
ConcatExprLongjmpInfo Conveys information about a branch in a Mapper command that transfers control to a label or line in a different RUN, or to a report in a different cabinet and drawer, based on a run-time expression.
JumpInfoBase Abstract base class that stores common pieces of jump information.
JumpInfoSource Indicates Mapper command that is source of jump-to or long-jump info.
LiteralJumpInfo Conveys information about a branch in a Mapper command that transfers control to another label or line in the same RUN, or another report in the same cabinet and drawer, based on a literal value.
LiteralLongjmpInfo Conveys information about a branch in a Mapper command that transfers control to a label or line in a different RUN, or to a report in a different cabinet and drawer, based on a literal value.

Class: ConcatExprJumpInfo   next package

Conveys information about a branch in a Mapper command that transfers control to another label or line in the same RUN, or another report in the same cabinet and drawer, based on a run-time expression.
Treat this class as "thread-safe", since it is immutable once created.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.ConcatExprJumpInfo
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase
Fields
Expression that yields label, line or report number, as specified by jump destination; literals that identify the jump destination (e.g. "LIN", "RPX") can be assumed to have been removed from the expression.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr labelLineOrReportExpr
Constructors
Public ctor that initializes an instance of this class.
Parameters:
anID - ID that uniquely identifies each jump literal or expression.
aDestination - destination of jump (e.g., label number or line number offset).
aJumpSourceLineNum - line number where Mapper command that actually does jump resides.
aSource - Mapper command that is source of jump-to or long-jump info.
aLabelLineRptExpr - expression that yields label, line or report number; text parts that identify the jump destination (e.g. "LIN", "RPX") should not be part of the expression.
public ConcatExprJumpInfo(int anID, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination aDestination, int aJumpSourceLineNum, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource aSource, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aLabelLineRptExpr)

Class: ConcatExprLongjmpInfo   previous next package

Conveys information about a branch in a Mapper command that transfers control to a label or line in a different RUN, or to a report in a different cabinet and drawer, based on a run-time expression.
Treat this class as "thread-safe", since it is immutable once created.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.ConcatExprLongjmpInfo
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.ConcatExprJumpInfo
Fields
Cabinet-drawer-report (CDR) specification or result number to jump to.
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr cdr
Constructors
Public ctor that initializes an instance of this class.
Parameters:
anID - ID that uniquely identifies each jump literal or expression.
aDestination - destination of jump (e.g., label number or line number offset).
aJumpSourceLineNum - line number where Mapper command that actually does jump resides.
aSource - Mapper command that is source of jump-to or long-jump info.
aLabelLineRptExpr - expression that yields label, line or report number; text parts that identify the jump destination (e.g. "LIN", "RPX") should not be part of the expression.
aCdr - cabinet-drawer-report (CDR) specification or result number to jump to.
public ConcatExprLongjmpInfo(int anID, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination aDestination, int aJumpSourceLineNum, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource aSource, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aLabelLineRptExpr, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aCdr)

Class: JumpInfoBase   previous next package

Abstract base class that stores common pieces of jump information.
Treat this class as "thread-safe", since it is immutable once created.
public abstract class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase
  extends java.lang.Object
Inner Class JumpDestination
Indicates destination of jump literal or expression.
public static final class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination
  extends java.lang.Enum
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination LABEL
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination LINE_OFFSET
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination REPORT
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination valueOf(java.lang.String name)
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination values()
Fields
ID that uniquely identifies each jump literal or expression (i.e., edge ID).
public final int id
Destination of jump (label number, line number offset or report number).
public final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination jumpDestination
Mapper command that is source of jump-to or long-jump info.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource jumpSource
Line number where Mapper command that actually does jump resides (e.g., GTO).
public final int lineNumberOfJumpSource
Constructors
Restricted ctor for initializing an instance of this class.
Parameters:
anID - ID that uniquely identifies each jump literal or expression.
aDestination - destination of jump (e.g., label number or line number offset).
aJumpSource - Mapper command that is source of jump-to or long-jump info.
aJumpSourceLineNum - line number where Mapper command that actually does jump resides (e.g., GTO).
protected JumpInfoBase(int anID, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination aDestination, int aJumpSourceLineNum, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource aJumpSource)

Class: JumpInfoSource   previous next package

Indicates Mapper command that is source of jump-to or long-jump info.
public final class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource
  extends java.lang.Enum
Fields
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource COMPUTED_GOTO
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource GOTO
Methods
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource valueOf(java.lang.String name)
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource values()

Class: LiteralJumpInfo   previous next package

Conveys information about a branch in a Mapper command that transfers control to another label or line in the same RUN, or another report in the same cabinet and drawer, based on a literal value.
Treat this class as "thread-safe", since it is immutable once created.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.LiteralJumpInfo
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase
Fields
Label, line or report number, as specified by jump destination.
public final java.lang.Integer labelLineOrReportNumber
Constructors
Public ctor that initializes an instance of this class.
Parameters:
anID - ID that uniquely identifies each jump literal or expression.
aDestination - destination of jump (e.g., label number or line number offset).
aJumpSourceLineNum - line number where Mapper command that actually does jump resides.
aSource - Mapper command that is source of jump-to or long-jump info.
aLabelLineRptNum - literal label, line or report number.
public LiteralJumpInfo(int anID, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination aDestination, int aJumpSourceLineNum, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource aSource, java.lang.Integer aLabelLineRptNum)

Class: LiteralLongjmpInfo   previous package

Conveys information about a branch in a Mapper command that transfers control to a label or line in a different RUN, or to a report in a different cabinet and drawer, based on a literal value.
Treat this class as "thread-safe", since it is immutable once created.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.LiteralLongjmpInfo
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.LiteralJumpInfo
Fields
Cabinet-drawer-report (CDR) specification or result number to jump to.
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr cdr
Constructors
Public ctor that initializes an instance of this class.
Parameters:
anID - ID that uniquely identifies each jump literal or expression.
aDestination - destination of jump (e.g., label number or line number offset).
aJumpSourceLineNum - line number where Mapper command that actually does jump resides.
aSource - Mapper command that is source of jump-to or long-jump info.
aLabelLineRptNum - literal label, line or report number.
aCdr - cabinet-drawer-report (CDR) specification or result number to jump to.
public LiteralLongjmpInfo(int anID, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoBase.JumpDestination aDestination, int aJumpSourceLineNum, com.arsi.mj.maprpt.lexer.ptree.cmd.ctrlflow.jumps.JumpInfoSource aSource, java.lang.Integer aLabelLineRptNum, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aCdr)