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

Package com.arsi.mj.maprpt.lexer.ptree.cmd.brk contains the following classes and interfaces.
Classes and Interfaces
BrkCommandParser Parses a BRK RUN command.
BrkParseNode Parse node that represents a BRK RUN command.

Class: BrkCommandParser   next package

Parses a BRK 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.brk.BrkCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors
public BrkCommandParser()
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: BrkParseNode   previous package

Parse node that represents a BRK 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.brk.BrkParseNode
  extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
  implements com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Inner Class EstNumOutputLines
Estimated number of output area lines, either an integer literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.brk.BrkParseNode.EstNumOutputLines
  extends java.lang.Object
Number of lines expression known only at runtime, NULL if compile-time.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr expr

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

Inner Class WebscriptFlag
Indicator that output area contains Web script (boolean), either an Y/N literal or expression.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.brk.BrkParseNode.WebscriptFlag
  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

Fields
Estimated number of lines in output area, if any (may be NULL)
public final com.arsi.mj.maprpt.lexer.ptree.cmd.brk.BrkParseNode.EstNumOutputLines numOutputLines
Cabinet and drawer (report number always NULL) or result number to display (may be NULL if no cabinet and drawer or result number specification.)
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr targetCdr
Indicator that output area contains a Web script.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.brk.BrkParseNode.WebscriptFlag webscriptFlag
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command
aTargetCdr - cabinet and drawer (report number always NULL) or result number to display.
aNumOutLines - number of lines in output area, if any (may be NULL).
aWebFlag - indicator that output area contains a Web script.
public BrkParseNode(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.brk.BrkParseNode.EstNumOutputLines aNumOutLines, com.arsi.mj.maprpt.lexer.ptree.cmd.brk.BrkParseNode.WebscriptFlag aWebFlag)
Methods
public java.util.List referencedVariables()