Skip navigation links
org.netbeans.modules.lexer/2 1.73.0 1
A B C D E F G H I J L M N O P R S T V 

O

offset(TokenHierarchy<?>) - Method in class org.netbeans.api.lexer.Token
Get the offset at which this token is present in the input or -1 if this token is flyweight (and therefore does not store offset).
offset() - Method in class org.netbeans.api.lexer.TokenChange
Get offset of the first token that was modified.
offset() - Method in class org.netbeans.api.lexer.TokenSequence
Get the offset of the current token in the underlying input.
offsetToken() - Method in class org.netbeans.api.lexer.TokenSequence
Similar to TokenSequence.token() but always returns a non-flyweight token with the appropriate offset.
ordinal() - Method in interface org.netbeans.api.lexer.TokenId
Get integer identification of this tokenId.
org.netbeans.api.lexer - package org.netbeans.api.lexer
The entrance point into Lexer API is TokenHierarchy class with its static methods that provide its instance for the given input source.
org.netbeans.spi.lexer - 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.
A B C D E F G H I J L M N O P R S T V 
Skip navigation links
org.netbeans.modules.lexer/2 1.73.0 1