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.call
contains the following classes and interfaces.
Classes and Interfaces | |
CallCommandParser | Parses a CALL RUN command. |
CallParseNode | Parse node that represents a CALL RUN command. |
CALL
RUN command.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.call.CallCommandParser
extends com.arsi.mj.maprpt.lexer.ptree.cmd.RunCommandParserBase
implements com.arsi.mj.maprpt.lexer.ptree.cmd.IRunCommandParser
Constructors |
public CallCommandParser()
|
Methods |
Check concatenation expression for a call-by-value variable (e.g., *
protected com.arsi.mj.maprpt.lexer.ptree.expr.IVariableDerefExpr checkAndReduceCallByValueVariable(com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aConcatExpr)
|
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)
|
CALL
RUN command.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.call.CallParseNode
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 |
Subroutine arguments (empty list if none), which are either VariableReferenceExpr ,
DeclaredVariableExpr or TextExpr since CALL allows only limited
argument types (no numeric literals, reserved words or strings bounds). As noted, in the case
of a variable, it may include a variable type and size (i.e., variable declaration).public final java.util.List arguments
|
Expression that yields label (or function name, in the case of JavaScript) where subroutine
begins, may be NULL only where externalSubrtnCdr is not NULL and identifies a
registered, named JavaScript subroutine.public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr labelConcatExpr
|
Constructors |
Initializes an instance of this class.
public CallParseNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr anExternalCdr, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aLabelExpr, java.util.List someArguments)
|
Methods |
public java.util.List declareScalarVariables()
|
Get subroutine arguments.
public final java.util.List getArguments()
|
Get report (or possibly result) containing external subroutine.
public final com.arsi.mj.maprpt.lexer.ptree.symbol.Cdr getExternalSubrtnReportOrResult()
|
Get start-of-subroutine-label (or JavaScript function name) as runtime expression that
yields entry point as label or function.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr getLabelOrFunctionExpr()
|
public java.util.List referencedVariables()
|