org.netbeans.modules.lexer/2 1.39.1 1

Package org.netbeans.spi.lexer

The main abstract class in the Lexer SPI that must be implemented is LanguageHierarchy that mainly defines set of token ids and token categories for the new language and its Lexer.

See:
          Description

Interface Summary
Lexer<T extends TokenId> Lexer reads input characters from LexerInput and groups them into tokens.
TokenPropertyProvider<T extends TokenId> Provides extra properties of a token.
TokenValidator<T extends TokenId> Token validator checks whether an existing token was affected by just performed input source modification so that it needs to be relexed.
 

Class Summary
LanguageEmbedding<T extends TokenId> Description of a particular language embedding including starting and ending skipped regions of a token containing this embedding and a definition of an embedded language hierarchy.
LanguageHierarchy<T extends TokenId> Definition of a language, its lexer and its embedded languages.
LanguageProvider The Language provider.
LexerInput Provides characters to feed the Lexer.
LexerRestartInfo<T extends TokenId> Lexer restart info contains all the necessary information for restarting of a lexer mainly the lexer input, state and token factory.
MutableTextInput<I> Mutable attributed character sequence allowing to listen for changes in its text.
TokenFactory<T extends TokenId> Lexer should delegate all the token instances creation to this class.
TokenHierarchyControl<I> Control class for managing token hierarchy of a mutable text input.
 

Enum Summary
EmbeddingPresence Defines whether a default embedding can be present for the given token id or not.
 

Package org.netbeans.spi.lexer Description

The main abstract class in the Lexer SPI that must be implemented is LanguageHierarchy that mainly defines set of token ids and token categories for the new language and its Lexer.
The language hierarchy may also define embedded languages.


org.netbeans.modules.lexer/2 1.39.1 1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.