Package | Description |
---|---|
org.netbeans.modules.parsing.api |
Support for calling of high priority parser based user tasks in multi
language environment.
|
org.netbeans.modules.parsing.spi |
Supports registration and automatic scheduling of various parser based tasks.
|
Modifier and Type | Class and Description |
---|---|
class |
UserTask
UserTask allows controll process of parsing of
Source
containing blocks of embedded languages, and do some computations based on
all (or some) parser Parser.Result s. |
Modifier and Type | Class and Description |
---|---|
class |
EmbeddingProvider
EmbeddingProvider returns sources for embedded languages (
Embedding s)
based on lexical analyse of current snapshot. |
class |
IndexingAwareParserResultTask<T extends Parser.Result> |
class |
ParserBasedEmbeddingProvider<T extends Parser.Result>
ParserBasedEmbeddingProvider returns sources for embedded
languages based on parser result for current language and snapshot.
|
class |
ParserResultTask<T extends Parser.Result>
SchedulerTask that process result of parsing.
|
class |
SchedulerTask
Abstract ascendant of all types of SPI tasks (
EmbeddingProvider ,
ParserBasedEmbeddingProvider and ParserResultTask ). |
Modifier and Type | Method and Description |
---|---|
abstract Parser.Result |
Parser.getResult(Task task)
Called when some task needs some result of parsing.
|
abstract void |
Parser.parse(Snapshot snapshot,
Task task,
SourceModificationEvent event)
|