See: Description
Interface | Description |
---|---|
IABCBytesRequestResult |
Result object for the GET_ABC_BYTES operation on ICompilationUnit.
|
IFileScopeRequestResult | |
IOutgoingDependenciesRequestResult |
Result object for the GET_SEMANTIC_PROBLEMS operation on ICompilationUnit.
|
IRequest<T extends IRequestResult,U> |
Interface to all request objects obtained from methods on ICompilationUnit.
|
IRequestResult |
Base interface for the result of a ICompilationUnit request result.
|
ISWFTagsRequestResult |
Result object for the GET_SWF_TAGS operation on ICompilationUnit.
|
ISyntaxTreeRequestResult |
Interface implemented by result objects for the request syntax tree operation of
ICompilationUnit 's. |
You can make five requests on a compilation unit:
Request what? | Method | Result |
AST | getSyntaxTreeRequest() |
ISyntaxTreeRequestResult |
File scope | getFileScopeRequest() |
IFileScopeRequestResult |
Outgoing dependencies | getOutgoingDependenciesRequest() |
IOutoingDependenciesRequestResult |
ABC | getABCBytesRequest() |
IABCBytesRequestResult |
SWF tags | getSWFTagsRequest() |
ISWFTagsRequestResult |
It is common for one request to trigger other requests. For example, if you request the file scope for an AS file, the AST gets automatically requested.
Compilation units use Java Future
objects to fulfill
the requests. This allows multiple compilation units to compile
simultaneously on multiple threads.
The result objects that come back from the requests are cached in the compilation unit for subsequent access.
Copyright © 2016 The Apache Software Foundation. All rights reserved.