|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Generic Lexer package is a basic set of classes to
help in quickly prototyping a lexer/scanner for a given language.
See:
Description
| Interface Summary | |
|---|---|
| GenericTokens | The GenericTokens interface describes the tokens for a
generic lexer. |
| Class Summary | |
|---|---|
| BraceHelper | The BraceHelper class is a helper class that can
be used by brace matching implementations for language definitions
based on the Language API. |
| GenericLexer | The GenericLexer is a concrete implementation of the
Lexer interface that can be used to lex
Language implementations. |
| Language | The Language interface provides methods for providing
basic details of a language, such as the keywords, the comment
delimiters, and the quote delimiters of a language. |
The Generic Lexer package is a basic set of classes to
help in quickly prototyping a lexer/scanner for a given language.
Such a lexer could be used with the editor language framework to
provide basic syntax highlighting services for a language.
To use this framework, define a Language implementation
which specifics the keywords, comments, strings, numbers, and brace
aspects of the language.
To create a lexer for this language, simply instantiate a
GenericLexer with an instance of your
Language implementation.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||