Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.
com.arsi.mj.maprpt.lexer.ptree.cmd.lda
contains the following classes and interfaces.
Classes and Interfaces | |
LdaCommandParser | Parses a LDA RUN command. |
LdaParseNode | Parse node that represents a LDA RUN command. |
LDA
RUN command.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaCommandParser
extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Inner Class ConcatEndOfExprOneshotLdaImpl |
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.lda.LdaCommandParser.ConcatEndOfExprOneshotLdaImpl
|
public LdaCommandParser.ConcatEndOfExprOneshotLdaImpl(int aLeftBracketIdx) public com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase.ConcatEndOfExprResult isEndOfExpr(com.arsi.mj.maprpt.lexer.tokens.IMaprptToken anInitialToken, com.arsi.mj.maprpt.lexer.MaprptLexer aLexer)
|
Constructors |
public LdaCommandParser()
|
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)
|
LDA
RUN command.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode
extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
implements com.arsi.mj.maprpt.lexer.symtab.arrdecl.ISupportsArrayDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Inner Class ArrayDecl |
An array declaration, e.g., v1s20[5] .
public static class com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.ArrayDecl
|
Array identifier as variable name or number and metadata, cannot be NULL.public final com.arsi.mj.maprpt.lexer.ptree.symbol.VariableReference arrVarRef
Dimension of array as subscript (e.g., [5] ), may be NULL.public final com.arsi.mj.maprpt.lexer.ptree.symbol.ArraySubscript dimension
Type and size of array elements (e.g., s20 , i5 ), may be NULL.public final com.arsi.mj.maprpt.lexer.ptree.symbol.VariableTypeSize typeSize
|
Inner Class CommandType |
Type of LDA command.
public static final class com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType
|
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType DECLARE_MULTIPLE_ARRAY
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType ELEMENT_INITIALIZE
public static final com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType REFORMAT_ARRAY
|
public static com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType valueOf(java.lang.String name) public static com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType values()
|
Constructors |
Initializes an instance of this class.
public LdaParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ICommandOptionExpr anOptionExpr, com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType aCmdType, java.util.List someArrayDecls, java.util.List someElemInitExprs)
|
Methods |
public java.util.List declareArrayVariables()
|
Get arrays declared by this LDA command.
public final java.util.List getArrays()
|
Get the type of LDA command.
public final com.arsi.mj.maprpt.lexer.ptree.cmd.lda.LdaParseNode.CommandType getCommandType()
|
Get array element initializer expressions.
public final java.util.List getElementInitializerExprs()
|
Get options applicable to command.
public final java.util.EnumSet getOptions()
|
public java.util.List referencedVariables()
|