|
abc4j API Specification | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| PositionableInCharStream | Interface that should be implemented by any object that has a position in a char stream. |
| ScannerListenerInterface | This interface should be implemented by any object that wants to listen to scanner events thrown during characters stream scanning. |
| TokenType | Tokens types add semantic to tokens to diferenciate them. |
| Class Summary | |
|---|---|
| AutomataDefinition | This class enables the description of automatas. |
| CharStreamPosition | This class defines positions in a stream of characters. |
| FinaleStateAutomata | This class defines finale state automatas. |
| InvalidCharacterEvent | This event is thrown when an unexpected character is encountered. |
| IsAlphaTransition | This class defines a transition that corresponds to any alpha character : a letter, upper or lower case. |
| IsDigitTransition | This class defines a transition that corresponds to a digit character. |
| Scanner | A scanner is able to separate tokens from an input stream, following states defined in a finale state automata. |
| ScannerAdapter | An empty default implementation of for scanner listener. |
| Set | This class defines sets used to group token types while parsing. |
| State | This class defines states used in finale state automata. |
| Token | Tokens are objects created by a scanner while scanning a stream of characters. |
| TokenEvent | This event is thrown when a new token has been detected. |
| Transition | This class defines transitions between states that are used for defining finale state automatas. |
| Exception Summary | |
|---|---|
| NoSuchTokenException | A runtime exception thrown when no more token can be generated. |
| NoTransitionFoundException | A runtime exception thrown when no transition is found when sending a character in a finale state automata. |
This package contains classes for scanners needed for syntax analysis : a scanner is in charge of retrieving tokens from an input stream. The rules used to know how to retrieve tokens are defined by finale states automatas.
|
abc4j API Specification | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||