PandA-2024.02
Functions | Variables
parse_tree.cpp File Reference

Implementation of the tree parsing interface function. More...

#include "parse_tree.hpp"
#include "Parameter.hpp"
#include "dbgPrintHelper.hpp"
#include "refcount.hpp"
#include <iostream>
#include <string>
Include dependency graph for parse_tree.cpp:

Go to the source code of this file.

Functions

tree_managerRef tree_parseY (const ParameterConstRef Param, std::string fn)
 
tree_managerRef ParseTreeFile (const ParameterConstRef &Param, const std::string &f)
 Function that parse the dump of the patched GCC. More...
 

Variables

int exit_code
 NOTE: this file must be included only by source code of the executable (i.e., the file with the main) More...
 

Detailed Description

Implementation of the tree parsing interface function.

Implementation of the function that parse a tree from a file.

Author
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it $Revision$ $Date$
Warning
This file is still in a work in progress state
Last modified by $Author$

Definition in file parse_tree.cpp.

Function Documentation

◆ ParseTreeFile()

tree_managerRef ParseTreeFile ( const ParameterConstRef Param,
const std::string &  f 
)

Function that parse the dump of the patched GCC.

Parameters
Paramis the set of input parameters
fthe input file name
debug_levelis the the debug_level
Returns
the tree manager associated to the raw file.

Definition at line 59 of file parse_tree.cpp.

References exit_code, THROW_ERROR_CODE, and tree_parseY().

Referenced by create_tree_manager::Exec(), CompilerWrapper::FillTreeManager(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tree_parseY()

tree_managerRef tree_parseY ( const ParameterConstRef  Param,
std::string  fn 
)

Referenced by ParseTreeFile().

Here is the caller graph for this function:

Variable Documentation

◆ exit_code

int exit_code

NOTE: this file must be included only by source code of the executable (i.e., the file with the main)

STD include Exit code

Definition at line 51 of file global_variables.cpp.

Referenced by ParseTreeFile().


Generated on Mon Feb 12 2024 13:03:32 for PandA-2024.02 by doxygen 1.8.13