Registry / utility / org-netbeans-modules-lexer

org-netbeans-modules-lexer

JSON →
libraryRELEASE290javamavenunverified

Provides lexer infrastructure for tokenizing source code in the NetBeans IDE platform.

<dependency> <groupId>org.netbeans.api</groupId> <artifactId>org-netbeans-modules-lexer</artifactId> <version>RELEASE290</version> </dependency>
INSTALL
IMPORT
SIG · ORG-NETBEANS-MODUL
O
org-netbeans-modules-lexer
utilityjavavRELEASE290
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TokenHierarchy
org.netbeans.api.lexer.TokenHierarchy

Obtains a TokenHierarchy from a document and retrieves its token sequence.

import org.netbeans.api.lexer.TokenHierarchy; import org.netbeans.api.lexer.TokenSequence; import javax.swing.text.Document; public class Example { public void analyze(Document doc) { TokenHierarchy<?> hierarchy = TokenHierarchy.get(doc); TokenSequence<?> seq = hierarchy.tokenSequence(); System.out.println("Token sequence obtained"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
RELEASE290latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
org-netbeans-modules-lexer — mvn dependency:get org-netbeans-modules-lexer · libregistry