| Modifier and Type | Field and Description |
|---|---|
Iterable<SWFTarget.SWFFrameInfo> |
frameInfos
Iterable of SWFTarget.SWFFrameInfos which represents the
skeleton of a SWF being built by a SWFTarget. |
| Constructor and Description |
|---|
SWFTarget.FramesInformation(Iterable<SWFTarget.SWFFrameInfo> frameInfos) |
| Modifier and Type | Method and Description |
|---|---|
protected SWFFrame |
createFrame(SWFTarget swfTarget,
SWFTarget.SWFFrameInfo frameInfo,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates a
SWFFrame for a SWFTarget.SWFFrameInfo. |
protected void |
createFrames(SWFTarget swfTarget,
ISWF swf,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates all the
SWFFrames for the SWF skeleton represented by
this SWFTarget.FramesInformation and adds them to the specified
ISWF. |
public final Iterable<SWFTarget.SWFFrameInfo> frameInfos
Iterable of SWFTarget.SWFFrameInfos which represents the
skeleton of a SWF being built by a SWFTarget.public SWFTarget.FramesInformation(Iterable<SWFTarget.SWFFrameInfo> frameInfos)
protected final SWFFrame createFrame(SWFTarget swfTarget, SWFTarget.SWFFrameInfo frameInfo, com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits, Set<ICompilationUnit> emittedCompilationUnits, Collection<ICompilerProblem> problems) throws InterruptedException
SWFFrame for a SWFTarget.SWFFrameInfo.swfTarget - The SWFTarget that is building the SWF to
which the newly created SWFFrame will be added.frameInfo - The SWFTarget.SWFFrameInfo that represents the skeleton
of the SWF frame to create.builtCompilationUnits - The ImmutableSet of
ICompilationUnits that have been built to create the SWF
being built by the specified SWFTarget. This Set is
used to write an assert.emittedCompilationUnits - The Set of
ICompilationUnits that any ICompilationUnits added to
this frame should be added to. This Set is used to ensure
that each ICompilationUnit is only added to a single frame in
a SWF.problems - Collection of ICompilerProblems that
any ICompilerProblems from any ICompilationUnit added
to the new SWFFrame should be added to.SWFFrame.InterruptedExceptionprotected void createFrames(SWFTarget swfTarget, ISWF swf, com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits, Set<ICompilationUnit> emittedCompilationUnits, Collection<ICompilerProblem> problems) throws InterruptedException
SWFFrames for the SWF skeleton represented by
this SWFTarget.FramesInformation and adds them to the specified
ISWF.
This method is overridden by sub-classes of SWFTarget.FramesInformation.
swfTarget - The SWFTarget that is building the SWF to
which the newly created SWFFrames will be added.swf - The ISWF to which the new created SWFFrame
s will be added.builtCompilationUnits - The ImmutableSet of
ICompilationUnits that have been built to create the SWF
being built by the specified SWFTarget. Sub-classes use this
set to generate code that supports startup of the Flex framework.emittedCompilationUnits - The Set of
ICompilationUnits that any ICompilationUnits added to
this frame should be added to. This Set is used to ensure
that each ICompilationUnit is only added to a single frame in
a SWF.problems - Collection of ICompilerProblems that
any ICompilerProblems from any ICompilationUnit added
to the new SWFFrames should be added to.InterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.