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

Package com.arsi.mj.maprpt.lexer.ptree.cmd.esr contains the following classes and interfaces.
Classes and Interfaces
EsrCommandParser Parses a ESR RUN command.
EsrParseNode Parse node that represents a ESR RUN command.

Class: EsrCommandParser   next package

Parses a ESR 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.esr.EsrCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors
public EsrCommandParser()
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: EsrParseNode   previous package

Parse node that represents a ESR 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.esr.EsrParseNode
  extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
  implements com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Fields
Expression that yields return-to-line-offset, may be NULL (e.g., ESR,-1)
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr returnLineOffsetExpr
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command.
public EsrParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine)
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command.
anOffsetExpr - return-to-line offset as concatenation expression.
public EsrParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr anOffsetExpr)
Methods
Get return-to-label as runtime expression that yields return-to-line-offset, if any.
Returns:
expression that yields return-to-line-offset, may be NULL.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr getReturnLineOffset()
public java.util.List referencedVariables()