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

Package com.arsi.mj.maprpt.lexer.ptree.cmd.ldv contains the following classes and interfaces.
Classes and Interfaces
LdvCommandParser Parses a LDV RUN command.
LdvParseNode Parse node that represents a LDV RUN command.

Class: LdvCommandParser   next package

Parses a LDV 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.ldv.LdvCommandParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Inner Class ConcatEndOfExprOneshotLdvImpl
One-shot, end-of-concatenation expression class (grabs the first construct such as variable reference or text recognized in the expression) used by this command parser.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvCommandParser.ConcatEndOfExprOneshotLdvImpl
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase.ConcatEndOfExprOneshotImpl
public LdvCommandParser.ConcatEndOfExprOneshotLdvImpl()
Inner Class FieldSpecificationResult
Result returned by parseFieldSpecification method.
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvCommandParser.FieldSpecificationResult
  extends java.lang.Object
public final com.arsi.mj.maprpt.lexer.ptree.symbol.FieldSpecification fldSpec
public final com.arsi.mj.maprpt.lexer.tokens.IMaprptToken lastTokenRead
Constructors
public LdvCommandParser()
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: LdvParseNode   previous package

Parse node that represents a LDV 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.ldv.LdvParseNode
  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 Option
Enumerated options for LDV command, associated with option letter. This class must implement that static method fromLetter for use with class CmdOptionConcatExpr.
public static final class com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option
  extends java.lang.Enum
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option CENTER
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option DELIMITED
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option LEFT
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option LOWER
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option PACK
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option REMOTE_STATUS
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option RESERVED
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option RIGHT
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option UPPER
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option ZERO
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option fromLetter(char aLetter)
public char getLetter()
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option valueOf(java.lang.String name)
public static com.arsi.mj.maprpt.lexer.ptree.cmd.ldv.LdvParseNode.Option values()
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command.
anOptionExpr - option expression parsed from LDV command, may be NULL if command has no options.
someDecls - variables declarations parsed from LDV command.
public LdvParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ICommandOptionExpr anOptionExpr, java.util.List someDecls)
Methods
public java.util.List declareScalarVariables()
Get options applicable to command.
Returns:
options applicable to command or NULL if none.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ICommandOptionExpr getOptions()
Get variables declared by this LDV command.
Returns:
declared variables.
public final java.util.List getVariables()
public java.util.List referencedVariables()