previous next contents
com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts contains the following classes and interfaces.
Parse node that represents a
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.
Treat this class as "thread-hostile"; instances should be created, used
and discarded by single thread at a time.
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
Initializes an instance of this class.
aTextExpression - the input expression to expand
public OptsExpansion(java.lang.String aTextExpression)
Any options successfully parsed.
- the extracted options
public java.util.Set getParsedOptions()
Obtains the derived option usage information
- the usage mode from the text, or null if none was provided
public com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.opts.OptsExpansion.OptionUsage getUsageMode()
Indicates if the parsed content should be used.
- true if the content is usable; false otherwise
public boolean isValid()