.. java:import:: fr.inria.tapenade.frontend TreeProtocol .. java:import:: fr.inria.tapenade.utils ILLang .. java:import:: fr.inria.tapenade.utils Operator .. java:import:: fr.inria.tapenade.utils TapIntList .. java:import:: fr.inria.tapenade.utils TapPair .. java:import:: fr.inria.tapenade.utils TapTriplet .. java:import:: fr.inria.tapenade.utils ToBool .. java:import:: fr.inria.tapenade.utils ToInt .. java:import:: fr.inria.tapenade.utils Tree .. java:import:: java.io IOException FlowGraphBuilder ================ .. java:package:: fr.inria.tapenade.representation :noindex: .. java:type:: public final class FlowGraphBuilder Machinery to build of a FlowGraph and its SymbolTable's for a Unit that will be read though a tree protocol. Methods ------- build ^^^^^ .. java:method:: public static Unit build(TreeProtocol inputTreeStream, SymbolTable contextSymbolTable, CallGraph callGraph, int language, Unit unit, boolean fromLib) throws IOException :outertype: FlowGraphBuilder Given an inputTreeStream, which is ready to output a piece of code, as a well-formed IL tree starting with op_function, op_program, op_constructor, op_class, op_module or op_nameSpace, fill the given empty unit with the internal representation of the incoming piece of code. :param inputTreeStream: The input stream, which is ready to output the piece of code :param unit: The unit that will contain the internal representation of the piece code :param contextSymbolTable: The symbol table of the level that will contain the piece of code findHostingSymbolTable ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static SymbolTable findHostingSymbolTable(SymbolTable enclosingSymbolTable, String privacy, Tree modifiers) :outertype: FlowGraphBuilder :return: the SymbolTable (at or around) enclosingSymbolTable, that will host the SymbolDecl of a symbol, given the privacy and modifiers of this symbol.