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 | Method and Description |
---|---|
Parser.Result |
ResultIterator.getParserResult()
Returns parse
Parser.Result for current source or null . |
Parser.Result |
ResultIterator.getParserResult(int offset)
Returns parse
Parser.Result for deepest embedding on given offset or null . |
static void |
ParserManager.parse(Collection<Source> sources,
UserTask userTask)
Priority request for parsing of list of
Source s. |
static void |
ParserManager.parse(String mimeType,
UserTask userTask)
Runs given task in parser thread.
|
static Future<Void> |
ParserManager.parseWhenScanFinished(Collection<Source> sources,
UserTask userTask)
Performs the given task when the scan finished.
|
static Future<Void> |
ParserManager.parseWhenScanFinished(String mimeType,
UserTask userTask)
Performs the given task when the scan finished.
|
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)
|