Package eu.bandm.tools.tpath.parser2
Class Screener<D>
java.lang.Object
eu.bandm.tools.lexic.LookaheadTokenProcessor<D,TokenType,int[]>
eu.bandm.tools.tpath.parser2.Screener<D>
- All Implemented Interfaces:
LookaheadTokenSource<D,
,TokenType, int[]> Supplier<Token<D,
TokenType>>
Token processor to recognize context-dependent token types.
It has to be inserted into the pipeline after white-space-ignorer
and before parser.
-
Field Summary
Fields inherited from class eu.bandm.tools.lexic.LookaheadTokenProcessor
input
-
Constructor Summary
-
Method Summary
Methods inherited from class eu.bandm.tools.lexic.LookaheadTokenProcessor
relinquishLookahead, takeOverLookahead
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.lexic.LookaheadTokenSource
forgetLookahead, removeTypes, removeTypes
-
Constructor Details
-
Screener
-
-
Method Details
-
get
A NAME token in operator mode is possibly replaced by an operatorKeyword. Else, if followed by a "(" it is replaced by a noteTypeKeyword, or by a FUNCTION_NAME token. If followed by a "::" it is possibly replaced by an axisKeyword. A STAR token in operator mode is replaced by a MULT token.
-