|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.frontend.Job
polyglot.frontend.InnerJob
public class InnerJob
An InnerJob
encapsulates work done by the compiler for a
nested class. In general InnerJob
s are transient, in that they
are not added to the worklist. An InnerJob
will typically run
only a few passes at a time.
Field Summary | |
---|---|
protected Pass.ID |
begin
Only the passes between begin and end will
be performed. |
protected Context |
context
The context in which this Job was spawned. |
protected Pass.ID |
end
Only the passes between begin and end will
be performed. |
protected Job |
outer
The job that this InnerJob was spawned by. |
Fields inherited from class polyglot.frontend.Job |
---|
ast, ext, initialErrorCount, lang, nextPass, passes, passMap, reportedErrors, runningPass, status |
Constructor Summary | |
---|---|
InnerJob(ExtensionInfo lang,
JobExt ext,
Node ast,
Context context,
Job outer,
Pass.ID begin,
Pass.ID end)
Constructor |
Method Summary | |
---|---|
Context |
context()
By default, a Job does not have a context associated
with it. |
java.util.List |
getPasses()
The initial list of passes is the list that the language extension provides us with, limited to those between begin and
end inclusive. |
SourceJob |
sourceJob()
The SourceJob associated with our outer Job . |
java.lang.String |
toString()
|
Methods inherited from class polyglot.frontend.Job |
---|
ast, ast, compiler, completed, completed, completedPasses, dump, ext, extensionInfo, finishPass, getPreviousTo, init, isRunning, lastBarrier, nextPass, passByID, passes, pending, pendingPasses, reportedErrors, runningPass, setRunningPass, source, spawn, status, userSpecified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Job outer
protected Context context
protected Pass.ID begin
begin
and end
will
be performed.
protected Pass.ID end
begin
and end
will
be performed.
Constructor Detail |
---|
public InnerJob(ExtensionInfo lang, JobExt ext, Node ast, Context context, Job outer, Pass.ID begin, Pass.ID end)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List getPasses()
begin
and
end
inclusive.
getPasses
in class Job
public Context context()
Job
Job
does not have a context associated
with it. Subclasses may override this method.
context
in class Job
public SourceJob sourceJob()
SourceJob
associated with our outer Job
.
sourceJob
in class Job
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |