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.sc.directive.opts
contains the following classes and interfaces.
Classes and Interfaces | |
OptsDirectiveNode | Parse node that represents a MODE SC directive. |
OptsDirectiveParser | Parses a OPTS SC directive. |
OptsExpansion | Extracts OPTS option content from the provided input. |
MODE
SC directive.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsDirectiveNode
extends com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveNode
Constructors |
Initializes an instance of this class.
public OptsDirectiveNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr someOptionExprs)
|
Methods |
public com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr getOptionExpr()
|
OPTS
SC directive.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsDirectiveParser
extends com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveParserBase
implements com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.IScDirectiveParser
Constructors |
public OptsDirectiveParser()
|
Methods |
Required implementation.
public com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveParseResult parseDirective(com.arsi.mj.maprpt.lexer.tokens.IMaprptToken anInitialToken, com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveLexer aLexer, org.springframework.context.ApplicationContext anAppCtx)
|
OPTS
option content from the provided input. Feedback from the parsing
results is also available.
Treat this class as "thread-safe"; once created, an instance can be treated as immutable.
public class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion
extends java.lang.Object
Inner Class OptionUsage |
Determines how the provided options should be used.
public static final class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage
|
Provided options should be added to the current SC options.public static final com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage ADD
Provided options should be removed from the current SC options. public static final com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage REMOVE
Provided options should be used in place of the current SC options. public static final com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage REPLACE
|
public static com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage valueOf(java.lang.String name) public static com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage values()
|
Constructors |
Initializes an instance of this class.
public OptsExpansion(java.lang.String aTextExpression)
|
Methods |
Any options successfully parsed.
public java.util.Set getParsedOptions()
|
Obtains the derived option usage information
public com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage getUsageMode()
|
Indicates if the parsed content should be used.
public boolean isValid()
|