public class CppLambdaRecognizer extends RecognizerBase<EGenericParserStates>
NO_MATCH, tailRecognizers
Constructor and Description |
---|
CppLambdaRecognizer(java.util.EnumSet<ETokenType> typeOrIdentifier)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
matchesLocally(ParserState<EGenericParserStates> parserState,
java.util.List<IToken> tokens,
int startOffset)
Attempts to match the recognizer locally (without respecting tail
recognizers).
|
createNode, createNode, createNode, debug, endNode, endNodeWithContinuation, endNodeWithContinuation, endNodeWithName, ensureTopLevel, getRecognizerStringRepresentation, markStart, matches, notPreCondition, optional, optionalSubRecognizer, parseOnce, parseStrictlyUntil, parseUntil, parseUntilOrEof, preCondition, repeated, repeatedAtLeastOnce, repeatedSubRecognizer, sequence, sequenceBefore, skipAny, skipBefore, skipBeforeWithNesting, skipBeforeWithNesting, skipBeforeWithNesting, skipBeforeWithNesting, skipBeforeWithNesting, skipBeforeWithNesting, skipForward, skipNested, skipNested, skipTo, skipToWithNesting, skipToWithNesting, skipToWithNesting, skipToWithNesting, skipWithNesting, skipWithNesting, subRecognizer, subRecognizer, toString
public CppLambdaRecognizer(java.util.EnumSet<ETokenType> typeOrIdentifier)
protected int matchesLocally(ParserState<EGenericParserStates> parserState, java.util.List<IToken> tokens, int startOffset)
matchesLocally
in class RecognizerBase<EGenericParserStates>
parserState
- the current state of the underlying parser.tokens
- the list of tokens.startOffset
- the current offset into the tokens from where to start matching.RecognizerBase.NO_MATCH
if matching was not possible at this position.