protected static final class LazyRatsParser.StateAwareResult
extends xtc.parser.Result
| Constructor and Description |
|---|
LazyRatsParser.StateAwareResult(String prod,
LazyParserContext context,
xtc.parser.Result result) |
| Modifier and Type | Method and Description |
|---|---|
xtc.parser.SemanticValue |
createValue(Object value,
xtc.parser.ParseError error) |
xtc.parser.Result |
getResult(LazyParserContext newContext) |
boolean |
hasValue() |
boolean |
hasValue(String s) |
boolean |
hasValueIgnoreCase(String s) |
xtc.parser.ParseError |
parseError() |
xtc.parser.ParseError |
select(xtc.parser.ParseError error) |
xtc.parser.ParseError |
select(xtc.parser.ParseError error,
int index) |
<T> T |
semanticValue() |
xtc.parser.Result |
setResult(LazyParserContext context,
xtc.parser.Result result) |
public LazyRatsParser.StateAwareResult(String prod, LazyParserContext context, xtc.parser.Result result)
public xtc.parser.Result setResult(LazyParserContext context, xtc.parser.Result result)
public xtc.parser.Result getResult(LazyParserContext newContext)
public boolean hasValue()
hasValue in class xtc.parser.Resultpublic boolean hasValue(String s)
hasValue in class xtc.parser.Resultpublic boolean hasValueIgnoreCase(String s)
hasValueIgnoreCase in class xtc.parser.Resultpublic <T> T semanticValue()
semanticValue in class xtc.parser.Resultpublic xtc.parser.ParseError parseError()
parseError in class xtc.parser.Resultpublic xtc.parser.ParseError select(xtc.parser.ParseError error)
select in class xtc.parser.Resultpublic xtc.parser.ParseError select(xtc.parser.ParseError error,
int index)
select in class xtc.parser.Resultpublic xtc.parser.SemanticValue createValue(Object value, xtc.parser.ParseError error)
createValue in class xtc.parser.ResultCopyright © 2010-2012 University of Erlangen-Nürnberg - Open Source Research Group. All Rights Reserved.