站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Uses of Class org.netbeans.api.lexer.TokenSequence (Lexer) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.lexer/2 1.19.0 1

Uses of Class
org.netbeans.api.lexer.TokenSequence

Packages that use TokenSequence
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. 
 

Uses of TokenSequence in org.netbeans.api.lexer
 

Methods in org.netbeans.api.lexer that return TokenSequence
 TokenSequence<T> TokenChange.currentTokenSequence()
          Get the token sequence that corresponds to the current state of the token hierarchy.
 TokenSequence<? extends TokenId> TokenSequence.embedded()
          Get embedded token sequence if the token to which this token sequence is currently positioned has a language embedding.
<ET extends TokenId>
TokenSequence<ET>
TokenSequence.embedded(Language<ET> embeddedLanguage)
          Get embedded token sequence if the token to which this token sequence is currently positioned has a language embedding.
 TokenSequence<T> TokenChange.removedTokenSequence()
          Create token sequence over the removed tokens.
 TokenSequence<T> TokenSequence.subSequence(int startOffset)
          Create sub sequence of this token sequence that only returns tokens above the given offset.
 TokenSequence<T> TokenSequence.subSequence(int startOffset, int endOffset)
          Create sub sequence of this token sequence that only returns tokens between the given offsets.
 TokenSequence<? extends TokenId> TokenHierarchy.tokenSequence()
          Get token sequence of the top level language of the token hierarchy.
<T extends TokenId>
TokenSequence<T>
TokenHierarchy.tokenSequence(Language<T> language)
          Get token sequence of the top level of the language hierarchy only if it's of the given language.
 

Methods in org.netbeans.api.lexer that return types with arguments of type TokenSequence
 List<TokenSequence<? extends TokenId>> TokenHierarchy.tokenSequenceList(LanguagePath languagePath, int startOffset, int endOffset)
          Get list of token sequences with the given language path from this hierarchy.
 


org.netbeans.modules.lexer/2 1.19.0 1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.