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 |
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 Result(Snapshot _snapshot)
Parser.Result
for given snapshotsnapshot
- public Snapshot getSnapshot()
Snapshot
represented by this Parser.Result
Snapshot
, which was used for producing this
parser result.protected abstract void invalidate()
Task
is finished.