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.dsp  previous next contents

Package com.arsi.mj.maprpt.lexer.ptree.cmd.dsp contains the following classes and interfaces.
Classes and Interfaces
DspCommandParser Parses a DSP RUN command.
DspParseNode Parse node that represents a DSP RUN command.

Class: DspCommandParser   next package

Parses a DSP RUN command.
Treat this class as "thread-hostile"; instances should be created, used and discarded by single thread at a time.

public class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors
public DspCommandParser()
Methods
public com.arsi.mj.maprpt.lexer.ptree.cmd.CommandParseResult parseCommand(com.arsi.mj.maprpt.lexer.tokens.IMaprptToken anInitialToken, com.arsi.mj.maprpt.lexer.MaprptLexer aLexer, org.springframework.context.ApplicationContext anAppCtx)
    throws com.arsi.mj.MJTranslateException

Class: DspParseNode   previous package

Parse node that represents a DSP 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.

public class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode
  extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
  implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Inner Class DisplayFormat
Format number, either an integer literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.DisplayFormat
  extends java.lang.Object
Format number expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Literal format number known at compile time, NULL if run-time.
public final java.lang.Integer literal

Inner Class HeldLines
Lines to hold on display, either an integer literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.HeldLines
  extends java.lang.Object
Held-lines string ('H') or integer expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Special literal integer that means to hold column headings ('H').
public static final int HEADING = -2147483648

Literal number-of-held-lines known at compile time, NULL if run-time.
public final java.lang.Integer literal

Inner Class InterimFlag
Interim report or result indicator (boolean), either an Y/N literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.InterimFlag
  extends java.lang.Object
Y/N expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Literal Y/N known at compile time, NULL if run-time.
public final java.lang.Character literal

Inner Class Message
Message to show on display, either a string literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Message
  extends java.lang.Object
Message string expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Literal message known at compile time, NULL if run-time.
public final java.lang.String literal

Inner Class StartingLine
Starting line number, either a line number literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.StartingLine
  extends java.lang.Object
Starting line expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Literal starting line known at compile time, NULL if run-time.
public final java.lang.Integer literal

Inner Class Tabstop
Tab stop, either an integer literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Tabstop
  extends java.lang.Object
Tab stop expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

Literal tab stop known at compile time, NULL if run-time.
public final java.lang.Integer literal

Fields
Format number to display.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.DisplayFormat format
Number of lines currently on display to hold.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.HeldLines heldLines
Indicator that this is an interim display.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.InterimFlag interimFlag
Message to display at top of screen, may be NULL.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Message message
First line of report or result to display.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.StartingLine startingLine
Tabstop where cursor is positioned.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Tabstop tabstop
Report (cabinet, drawer and report) or result number to display.
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr targetCdr
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command.
aTargetCdr - report (cabinet, drawer and report) or result number to display.
aStartLine - first line of report or result to display.
aTabstop - tab stop where cursor is positioned.
aFormat - format number to display.
anInterim - indicator that this is an interim display.
aHold - number of lines currently on display to hold.
aMessage - message to display at top of screen, may be NULL.
public DspParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr aTargetCdr, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.StartingLine aStartLine, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Tabstop aTabstop, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.DisplayFormat aFormat, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.InterimFlag anInterim, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.HeldLines aHold, com.arsi.mj.maprpt.lexer.ptree.cmd.dsp.DspParseNode.Message aMessage)
Methods
public java.util.List declareScalarVariables()
public java.util.List referencedVariables()