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

Package com.arsi.mj.maprpt.lexer.ptree.cmd.art contains the following classes and interfaces.
Classes and Interfaces
ArtCommandParser Parses an ART RUN command.
ArtParseNode Parse node that represents a ART RUN command.

Class: ArtCommandParser   next package

Parses an ART 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.art.ArtCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors
public ArtCommandParser()
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: ArtParseNode   previous package

Parse node that represents a ART 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.art.ArtParseNode
  extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
  implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference, com.arsi.mj.maprpt.lexer.symtab.vartype.ISupportsVariableTypeVoting
Fields
Equations to evaluate (each equation is root node of parse tree of equation nodes).
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 ArtParseNode(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()
public java.util.List voteForVariableTypes()