Extension SDK 10.1.2

Uses of Interface
oracle.javatools.parser.LexerToken

Packages that use LexerToken
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 LexerToken in oracle.javatools.editor.language
 

Fields in oracle.javatools.editor.language declared as LexerToken
protected  LexerToken GenericBraceProvider.lexerToken
          The token to use for lexing.
protected  LexerToken LexerBlockRenderer.lexerToken
          The LexerToken structure for interfacing with the Lexer.
protected  LexerToken LexerDocumentRenderer.lexerToken
          The LexerToken structure for interfacing with the Lexer.
 

Methods in oracle.javatools.editor.language that return LexerToken
protected  LexerToken LexerBlockRenderer.getLexerToken()
          Get a cached lexer-specific LexerToken (that we don't have to recreate every time) from the Lexer.
protected  LexerToken LexerDocumentRenderer.getLexerToken()
          Get a cached lexer-specific LexerToken (that we don't have to recreate every time) from the Lexer.
 

Methods in oracle.javatools.editor.language with parameters of type LexerToken
 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 LexerToken in oracle.javatools.parser
 

Classes in oracle.javatools.parser that implement LexerToken
protected static class AbstractLexer.DefaultLexerToken
          The DefaultLexerToken just implements a basic LexerToken which stores a token and start/end offsets.
 

Fields in oracle.javatools.parser declared as LexerToken
protected  LexerToken AbstractSyntaxRecognizer.curLexerToken
          The current LexerToken being examined by the grammar engine.
protected  LexerToken AbstractSyntaxRecognizer.peekingToken
          The LexerToken used for peeking.
 

Methods in oracle.javatools.parser that return LexerToken
 LexerToken Lexer.createLexerToken()
          Creates a new empty LexerToken for a specific Lexer implementation to be passed in to the lex() call to be filled in.
 LexerToken AbstractLexer.createLexerToken()
          Creates an empty LexerToken for a specific Lexer implementation to be passed in to the lex() call to be filled in.
 

Methods in oracle.javatools.parser with parameters of type LexerToken
 int Lexer.lex(LexerToken lexedToken)
          Scans the text buffer at the current position and returns the token that was found.
abstract  int AbstractLexer.lex(LexerToken lexedToken)
          Scans the text buffer at the current position and returns the token that was found.
 

Uses of LexerToken in oracle.javatools.parser.generic
 

Methods in oracle.javatools.parser.generic with parameters of type LexerToken
 int GenericLexer.lex(LexerToken lexedToken)
          Scans the text buffer at the current position and returns the token that was found.
protected  int GenericLexer.fillLexerToken(LexerToken lexedToken)
          Utility routine to fill in the LexerToken structure with the current token information we have.
 


Extension SDK

 

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