SwitchStruct¶
-
final class
SwitchStruct
extends ControlStruct¶
Methods¶
addControlStruct¶
-
protected void
addControlStruct
(ControlStruct struct, FGArrow arrow)¶ Insert the given “struct” into this ControlStruct, at the correct place determined by “arrow”.
generateTree¶
insertLetStructure¶
-
protected void
insertLetStructure
()¶ (Recursive) Inserts Let structures into the tree of ControlStruct’s to reflect nested local SymbolTable’s.
preGenerateTree¶
-
protected TapList<FGArrow>
preGenerateTree
(TapList<FGArrow> naturalArrows, TapList<TapTriplet<Tree, Tree, Integer>> toFutureIncludes, TapList<Tree> fileUserHelpStrings, TapList<ControlStruct> enclosingStructs, boolean skipSubUnits)¶ (Recursive) preparation before tree regeneration. Labels the arrows that need explicit jumps, prepares the skeleton of the future Tree.
- Returns
a TapList of FGArrow