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.chg
contains the following classes and interfaces.
Classes and Interfaces | |
ChgChrParseNode | Parse node that represents a CHG RUN command having syntax that sets
a variable to the result of the CHR$ reserved word, e.g.,
@chg v15 chr$ 12 . |
ChgCommandParser | Parses an CHG RUN command. |
ChgInputParseNode | Parse node representing a CHG RUN command having syntax that collects
input into one or more variables, e.g., @chg $input v1,v2,v3 . |
ChgParseNode | Base class for parse nodes that represents flavors of CHG RUN command. |
ChgVariableParseNode | Parse node that represents a CHG RUN command having syntax that sets
a variable to the result of a simple equation, e.g., @chg v5 v10 + v20 . |
CHG
RUN command having syntax that sets
a variable to the result of the CHR$
reserved word, e.g.,
@chg v15 chr$ 12
.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgChrParseNode
extends com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgParseNode
implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Fields |
Octal number of ASCII character as concatenation expression (e.g., text expression like "12").public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr asciiOrdinalAsConcatExpr
|
Variable reference as concatenation expression that identifies variable to set using CHR$.public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr variableAsConcatExpr
|
Constructors |
Public ctor for initializing an instance of this class.
public ChgChrParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aVarAsConcatExpr, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr anAsciiAsConcatExpr)
|
Methods |
public java.util.List declareScalarVariables()
|
public java.util.List referencedVariables()
|
CHG
RUN command.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgCommandParser
extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors |
public ChgCommandParser()
|
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)
|
Read ahead into raw input to find mathematical operators that indicate the CHG
command contains an equation.
public boolean readAheadForOperators(com.arsi.mj.maprpt.lexer.tokens.IMaprptToken currentToken, com.arsi.mj.maprpt.lexer.MaprptLexer aLexer)
|
CHG
RUN command having syntax that collects
input into one or more variables, e.g., @chg $input v1,v2,v3
.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgInputParseNode
extends com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgParseNode
implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Constructors |
Public ctor for initializing an instance of this class.
public ChgInputParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.rsvd.IReservedWord aResvWord, java.util.List someExtractExprs)
|
Methods |
public java.util.List declareScalarVariables()
|
public java.util.List referencedVariables()
|
CHG
RUN command.
public abstract class com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgParseNode
extends com.arsi.mj.maprpt.lexer.ptree.CommandParseNode
CHG
RUN command having syntax that sets
a variable to the result of a simple equation, e.g., @chg v5 v10 + v20
.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgVariableParseNode
extends com.arsi.mj.maprpt.lexer.ptree.cmd.chg.ChgParseNode
implements com.arsi.mj.maprpt.lexer.symtab.vardecl.ISupportsScalarDeclaration, com.arsi.mj.maprpt.lexer.symtab.ISupportsVariableReference
Fields |
New value of variable as equation, NULL if value is concatenation expression.public final com.arsi.mj.maprpt.lexer.ptree.cmd.equation.nodes.IEquationNode equation
|
New value of variable as concatenation expression, NULL if value is equation.public final java.util.List valueAsConcatExprs
|
Variable reference as concatenation expression that identifies variable to change.public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr variableAsConcatExpr
|
Constructors |
Public ctor for initializing an instance of this class where there is
no equation or other value associated with variable to change.
public ChgVariableParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aVarAsConcatExpr)
|
Public ctor for initializing an instance of this class where value of
variable is the result of an equation.
public ChgVariableParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aVarAsConcatExpr, com.arsi.mj.maprpt.lexer.ptree.cmd.equation.nodes.IEquationNode anEquation)
|
Public ctor for initializing an instance of this class where value of
variable is the result of a concatenation expression.
public ChgVariableParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aVarAsConcatExpr, java.util.List aValueAsConcatExprs)
|
Methods |
public java.util.List declareScalarVariables()
|
public java.util.List referencedVariables()
|