public abstract static class Parser.Result extends Object
Task.
Implementation of this class should provide AST for parsed file,
semantic information, etc. A new instance of Result is created for each
Task. When Task execution is finished, task should be invalidated.| Modifier | Constructor and Description |
|---|---|
protected |
Parser.Result(Snapshot _snapshot)
Creates a
Parser.Result for given snapshot |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
getSnapshot()
Returns a
Snapshot represented by this Parser.Result |
protected abstract void |
invalidate()
This method is called by Parsing API, when
Task is finished. |
protected Parser.Result(Snapshot _snapshot)
Parser.Result for given snapshotsnapshot - public Snapshot getSnapshot()
Snapshot represented by this Parser.ResultSnapshot, which was used for producing this
parser result.protected abstract void invalidate()
Task is finished.Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.