Extension SDK 10.1.2

Uses of Interface
oracle.javatools.parser.Lexer

Packages that use Lexer
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.generic The Generic Lexer package is a basic set of classes to help in quickly prototyping a lexer/scanner for a given language. 
 

Uses of Lexer in oracle.javatools.editor.language
 

Fields in oracle.javatools.editor.language declared as Lexer
protected  Lexer LexerBlockRenderer.lexer
          The Lexer that is used for tokenizing.
protected  Lexer LexerDocumentRenderer.lexer
          The Lexer that is used for tokenizing.
 

Methods in oracle.javatools.editor.language that return Lexer
protected abstract  Lexer LexerBlockRenderer.createLexer()
          Creates a Lexer used for breaking apart tokens in the primary language of this BlockRenderer implementation.
protected  Lexer LexerBlockRenderer.getLexer()
          Get a cached language-specific Lexer (so that we don't have to constantly recreate it every time.)
protected abstract  Lexer LexerDocumentRenderer.createLexer()
          Creates a Lexer used for breaking apart tokens in the primary language of the specific DocumentRenderer implementation
protected  Lexer LexerDocumentRenderer.getLexer()
          Get a cached language-specific Lexer (so that we don't have to constantly recreate it every time.)
 

Methods in oracle.javatools.editor.language with parameters of type Lexer
 int LexerDocumentRenderer.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.
 

Uses of Lexer in oracle.javatools.parser
 

Classes in oracle.javatools.parser that implement Lexer
 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.
 

Fields in oracle.javatools.parser declared as Lexer
protected  Lexer AbstractSyntaxRecognizer.lexer
          The Lexer object providing the token stream.
 

Methods in oracle.javatools.parser that return Lexer
 Lexer AbstractSyntaxRecognizer.getLexer()
           
abstract  Lexer AbstractSyntaxRecognizer.instantiatePreferredLexer()
          Subclasses should instantiate and customize preferred lexers here.
 

Methods in oracle.javatools.parser with parameters of type Lexer
 void AbstractSyntaxRecognizer.initialize(Lexer lexer)
          Initializes the SyntaxRecognizer.
 

Uses of Lexer in oracle.javatools.parser.generic
 

Classes in oracle.javatools.parser.generic that implement Lexer
 class GenericLexer
          The GenericLexer is a concrete implementation of the Lexer interface that can be used to lex Language implementations.
 


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.