Package | Description |
---|---|
com.hp.util.syntax |
Collection of facilities to translate a set of command-line arguments into amap of name-to-object bindings, using an XML-encoded set of syntaxdefinitions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SyntaxParameter.matches(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the node matches the given arguments starting with the
specified position.
|
boolean |
Syntax.matches(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the node matches the given arguments starting with the
specified position.
|
boolean |
SyntaxFragment.matches(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the node matches the given arguments starting with the
specified position.
|
boolean |
SyntaxKeyword.matches(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the node matches the given arguments starting with the
specified position.
|
boolean |
SyntaxNode.matches(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the node matches the given arguments starting with the
specified position.
|
protected boolean |
SyntaxFragment.matchesAnchor(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the currently parsed argument matches the next anchored
positional syntax node.
|
protected boolean |
SyntaxFragment.matchesFloater(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the currently parsed argument matches any floating,
non-positional syntax node.
|
protected boolean |
SyntaxFragment.matchesOnce(String[] args,
Parameters parameters,
Parameters committedParameters,
ParsePosition position,
ParsePosition start,
SyntaxPosition farthestMismatchPosition,
boolean indexParameters)
Returns true if the fragment matches once the given arguments starting
with the specified position.
|
void |
SyntaxPosition.update(SyntaxPosition position)
This method updates the error offset of this syntax position and it
will also update it's own syntax node reference with the specified one,
if the specified position's error offset is larger than its own.
|
Copyright © 2016. All Rights Reserved.