| java.lang.Object xtc.parser.Result xtc.parser.SemanticValue
SemanticValue | final public class SemanticValue extends Result (Code) | | A semantic value.
author: Robert Grimm version: $Revision: 1.22 $ |
error | final public ParseError error(Code) | | The embedded parse error. An embedded parse error is the most
specific parse error encountered during the parse leading to this
semantic value (typically, returned by an unsuccessful option).
It is used to possibly replace a less specific parse error
generated while continuing to parse the input. This field must
not be null ; instead, a
ParseError.DUMMYdummy parse error should be used.
|
SemanticValue | public SemanticValue(Object value, int index)(Code) | | Create a new semantic value.
Parameters: value - The value. Parameters: index - The index into the rest of the input. |
SemanticValue | public SemanticValue(Object value, int index, ParseError error)(Code) | | Create a new semantic value.
Parameters: value - The value. Parameters: index - The index into the rest of the input. Parameters: error - The embedded parse error. |
hasValue | public boolean hasValue()(Code) | | |
hasValueIgnoreCase | public boolean hasValueIgnoreCase(String s)(Code) | | |
semanticValue | public T semanticValue()(Code) | | |
|
|