| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Parser package is a basic framework of interfaces for
building a lexer or parser for various document types.
See:
          Description
| Interface Summary | |
|---|---|
| Lexer | The Lexerinterface describes the set of calls that
 need to be implemented by a Lexer for any given language. | 
| LexerToken | The LexerTokeninterface encapsulates a single token
 retrieved by a call toLexer.lex(). | 
| SyntaxListener | |
| SyntaxToken | The SyntaxTokeninterface encapsulates a single syntax
 token retrieved by a call toSyntaxTranslator.translate(). | 
| Class Summary | |
|---|---|
| AbstractLexer | The AbstractLexeris a basic abstract implementation
 which takes care of common functionality across all Lexers, such
 as the buffer and offset issues, and for providing a basicLexerTokenobject which just stores token and offset
 information. | 
| AbstractLexer.DefaultLexerToken | The DefaultLexerTokenjust implements a basic
 LexerToken which stores a token and start/end offsets. | 
| AbstractSyntaxRecognizer | The AbstractSyntaxRecognizeris a basic abstract
 implementation which takes care of common functionality across
 SyntaxRecognizers for LL(1) parsers. | 
The Parser package is a basic framework of interfaces for
building a lexer or parser for various document types.  It includes
lexer implementations for HTML, Java, and Java properties files, and a
parser implementation for Java files.  It also includes a basic
generic lexer implementation to quickly prototype a lexer for
additional languages. 
The lexer framework is defined primarily to allow rapid implementation
of syntax highlighting support for new languages by implementing a
Lexer for the new language and implementing the
appropriate editor language interfaces necessary for a new syntax
highlighting module. 
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||