Package | Description |
---|---|
oracle.javatools.editor.language |
The Language package is a subset of the Editor package, and is the
framework for extending the editor with color syntax highlighting,
brace matching, and other language or content-specific editing
features.
|
oracle.javatools.parser |
The
Parser package is a basic framework of interfaces for
building a lexer or parser for various document types. |
oracle.javatools.parser.css | |
oracle.javatools.parser.diff | |
oracle.javatools.parser.generic |
The
Generic Lexer package is a basic set of classes to
help in quickly prototyping a lexer/scanner for a given language. |
oracle.javatools.parser.html | |
oracle.javatools.parser.java.v2.scanner |
The parser's scanner API.
|
oracle.javatools.parser.plsql | |
oracle.javatools.parser.plsql.old | |
oracle.javatools.parser.plsql.syntax | |
oracle.javatools.parser.properties |
Modifier and Type | Field and Description |
---|---|
protected Lexer |
LexerDocumentRenderer.lexer
The Lexer that is used for tokenizing.
|
protected Lexer |
LexerBlockRenderer.lexer
The Lexer that is used for tokenizing.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Lexer |
LexerDocumentRenderer.createLexer()
Creates a Lexer used for breaking apart tokens in the primary
language of the specific DocumentRenderer implementation
|
protected abstract Lexer |
LexerBlockRenderer.createLexer()
Creates a Lexer used for breaking apart tokens in the primary
language of this
BlockRenderer implementation. |
protected Lexer |
LexerDocumentRenderer.getLexer()
Get a cached language-specific Lexer (so that we don't have to
constantly recreate it every time.)
|
protected Lexer |
LexerBlockRenderer.getLexer()
Get a cached language-specific Lexer (so that we don't have to
constantly recreate it every time.)
|
protected Lexer |
GenericBraceProvider.getLexer() |
protected abstract Lexer |
AbstractBraceProvider.getLexer()
Gets (or creates) the lexer we'll use for lexing.
|
Modifier and Type | Method and Description |
---|---|
int |
LexerOffsetsCache.findClosestOffset(Lexer lexer,
LexerToken lexerToken,
int offset)
Find the closest offset in the buffer we can start scanning from
that occurs at or before the indicated offset.
|
protected abstract int |
LexerOffsetsCache.findClosestOffsetInternal(Lexer lexer,
LexerToken lexerToken,
int offset)
Internal implementation of findClosestOffset() that does the
real work.
|
protected int |
LexerDocumentRenderer.DefaultLexerOffsetsCache.findClosestOffsetInternal(Lexer lexer,
LexerToken lexerToken,
int offset)
Internal implementation of findClosestOffset() that does the
real work.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLexer
The
AbstractLexer is a basic abstract implementation
which takes care of common functionality across all Lexers, such
as the buffer and offset issues, and for providing a basic
LexerToken object which just stores token and offset
information. |
Modifier and Type | Field and Description |
---|---|
protected Lexer |
AbstractSyntaxRecognizer.lexer
The Lexer object providing the token stream.
|
Modifier and Type | Method and Description |
---|---|
Lexer |
AbstractSyntaxRecognizer.getLexer() |
abstract Lexer |
AbstractSyntaxRecognizer.instantiatePreferredLexer()
Subclasses should instantiate and customize preferred lexers
here.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSyntaxRecognizer.initialize(Lexer lexer)
Initializes the SyntaxRecognizer.
|
Modifier and Type | Class and Description |
---|---|
class |
CSSAtRuleLexer
Code Editor lexer for other At-Rules which are added as part of other
components (like ADF) inside CSS documents.
|
class |
CSSCounterStyleRuleLexer |
class |
CSSDeclarationsLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSFontFaceRuleLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSGenericAtRuleLexer |
class |
CSSImportRuleLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSLexer
Code Editor lexer for CSS documents.
|
class |
CSSMediaRuleLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSNamespaceRuleLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSPageRuleLexer
Code Editor lexer for style rules inside CSS documents.
|
class |
CSSPseudoRuleSetLexer |
class |
CSSRegionRuleLexer
For lexing @region in http://www.w3.org/TR/css3-regions/
|
class |
CSSRuleSetLexer
Code Editor lexer for style rules inside CSS documents.
|
Modifier and Type | Class and Description |
---|---|
class |
DiffLexer
The
DiffLexer is an implementation of the
Lexer interface for a *.diff or *.patch file. |
Modifier and Type | Class and Description |
---|---|
class |
GenericLexer
The
GenericLexer is a concrete implementation of the
Lexer interface that can be used to lex
Language implementations. |
Modifier and Type | Class and Description |
---|---|
class |
HTMLLexer
The
HTMLLexer is an implementation of the
Lexer interface for the HTML language. |
class |
TagLexer
The
TagLexer is an implementation of the
Lexer interface for lexing an HTML tag. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayedLexer
Lexer based on a precalculated array of tokens.
|
class |
FastLexer
The FastLexer features two optimizations that make it faster than
having just a Lexer.
|
class |
JavadocLexer
The
JavaDocLexer is an implementation of the
Lexer interface for tokenizing a Java language documentation
comment ("doc comment" aka, in violation of copyright, "Javadoc comment"). |
class |
JavaLexer
The
JavaLexer is an implementation of the Lexer
interface for the Source language. |
Modifier and Type | Method and Description |
---|---|
static Lexer |
PlsqlParser.createPlsqlLexer()
Lexer will use PlsqlTokens.
|
static Lexer |
PlsqlParser.createSqlLexer()
Deprecated.
the javatools sql parser is no longer supported. For working with
sql queries see the utilities in package oracle.javatools.db.sql
|
Modifier and Type | Class and Description |
---|---|
class |
PlsqlLexer
Based on the JavaLexer.
|
Modifier and Type | Method and Description |
---|---|
Lexer |
PlsqlSyntaxRecognizer.instantiatePreferredLexer() |
Modifier and Type | Class and Description |
---|---|
class |
SqlLexer
Deprecated.
the javatools sql parser is no longer supported. For working with
sql queries see the utilities in package oracle.javatools.db.sql
|
class |
SqlPlsqlLexer
The SqlPlsqlLexer is used by the code editor only to highlight both the sql and plsql keywords.
|
Modifier and Type | Class and Description |
---|---|
class |
DefinitionLexer
The
DefinitionLexer is an implementation of the
Lexer interface for lexing a property definition. |
class |
PropertiesLexer
The
PropertiesLexer is an implementation of the
Lexer interface for a *.properties or *.rts file. |