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

Package com.arsi.mj.maprpt.lexer.ptree.cmd.dc contains the following classes and interfaces.
Classes and Interfaces
DcCommandParser Parses an DC RUN command.
DcParseNode Parse node that represents a DC RUN command.

Class: DcCommandParser   next package

Parses an DC 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.dc.DcCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors
public DcCommandParser()
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: DcParseNode   previous package

Parse node that represents a DC 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.dc.DcParseNode
  extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
  implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Fields
Equations to evaluate (each equation is root node of parse tree of equation nodes), where left-side of assignment is an output date format (e.g., d0=today+1).
public final java.util.List equations
Extract variables that store equation results as concatenation expressions (variable references).
public final java.util.List extractVariableExprs
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command.
someEquations - equations to evaluate (parse tree(s) of equation nodes).
someVariableExprs - extract variables that store equation results as concatenation expressions.
public DcParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, java.util.List someEquations, java.util.List someVariableExprs)
Methods
public java.util.List declareScalarVariables()
public java.util.List referencedVariables()