public class XtendShallowParser extends ShallowParserBase<XtendShallowParser.EXtendShallowParserState>
Same features as the Java shallow parser:
| Modifier and Type | Class and Description |
|---|---|
static class |
XtendShallowParser.EXtendShallowParserState
The states of the xtend parser
|
| Constructor and Description |
|---|
XtendShallowParser()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isFilteredToken(IToken token,
IToken previousToken)
Template method that can be used to ignore/filter certain tokens.
|
createRecognizer, endWithPossibleContinuation, filterTokens, inAnyState, inState, parse, parseFragment, parseTopLevelpublic XtendShallowParser()
protected boolean isFilteredToken(IToken token, IToken previousToken)
isFilteredToken in class ShallowParserBase<XtendShallowParser.EXtendShallowParserState>previousToken - the last non-filtered token (can be used for context sensitive
filtering). This may be null is no previous token exists.