org.netbeans.modules.parsing.api
Class UserTask
java.lang.Object
org.netbeans.modules.parsing.api.Task
org.netbeans.modules.parsing.api.UserTask
public abstract class UserTask
- extends Task
UserTask allows controll process of parsing of Source
containing blocks of embedded languages, and do some computations based on
all (or some) parser Parser.Results.
It is usefull
when you need to implement code completion based on results of more
embedded languages, or if you want to implement refactoring of some
blocks of code embedded in some other blocks of other code, etc...
|
Method Summary |
abstract void |
run(ResultIterator resultIterator)
UserTask implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserTask
public UserTask()
run
public abstract void run(ResultIterator resultIterator)
throws Exception
- UserTask implementation.
- Parameters:
resultIterator - A ResultIterator instance.
- Throws:
Exception - rethrown by the infrastructure as a
ParseException.