LetStruct¶
-
final class
LetStruct
extends ControlStruct¶ This structure represents a piece of Flow Graph that is the scope for new local variables. In other words it is a piece of C code between an opening and closing curly braces {} and that declares local variables.
Fields¶
body¶
-
protected TapList<ControlStruct>
body
¶
Constructors¶
LetStruct¶
-
protected
LetStruct
(SymbolTable symbolTable)¶
Methods¶
addControlStruct¶
-
protected void
addControlStruct
(ControlStruct struct, FGArrow arrow)¶
addControlStructAtTail¶
-
protected void
addControlStructAtTail
(ControlStruct struct)¶
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