Package org.firebirdsql.jaybird.parser
Interface TokenVisitor
- 
- All Known Implementing Classes:
- StatementDetector
 
 @InternalApi public interface TokenVisitor Visitor for tokens.Used by SqlParserto notify the visitors of tokens.- Since:
- 5
- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete(VisitorRegistrar visitorRegistrar)Signals that the last token was produced and the statement text was fully parsed.voidvisitToken(Token token, VisitorRegistrar visitorRegistrar)Notifies the visitor of a token.
 
- 
- 
- 
Method Detail- 
visitTokenvoid visitToken(Token token, VisitorRegistrar visitorRegistrar) Notifies the visitor of a token.- Parameters:
- token- Token
- visitorRegistrar- Visitor registrar (can be used to remove itself, or add other visitors)
 
 - 
completevoid complete(VisitorRegistrar visitorRegistrar) Signals that the last token was produced and the statement text was fully parsed.- Parameters:
- visitorRegistrar- Visitor registrar (can be used to remove itself, or add other visitors)
 
 
- 
 
-