PandA-2024.02
Public Member Functions | Protected Member Functions | Protected Attributes
AadlParser Class Reference

#include <aadl_parser.hpp>

Inheritance diagram for AadlParser:
Inheritance graph
[legend]
Collaboration diagram for AadlParser:
Collaboration graph
[legend]

Public Member Functions

 AadlParser (const DesignFlowManagerConstRef design_flow_manager, const std::string &file_name, const application_managerRef AppM, const ParameterConstRef parameters)
 Constructor. More...
 
 ~AadlParser () override
 Destuctor. More...
 
DesignFlowStep_Status Exec () override
 Execute the step. More...
 
- Public Member Functions inherited from ParserFlowStep
 ParserFlowStep (const DesignFlowManagerConstRef design_flow_manager, const ParserFlowStep_Type parser_step_type, const std::string &file_name, const ParameterConstRef parameters)
 Constructor. More...
 
 ~ParserFlowStep () override
 Destructor. More...
 
std::string GetSignature () const override
 Return the signature of this step. More...
 
std::string GetName () const override
 Return the name of this design step. More...
 
bool HasToBeExecuted () const override
 Check if this step has actually to be executed. More...
 
void ComputeRelationships (DesignFlowStepSet &relationship, const DesignFlowStep::RelationshipType relationship_type) override
 Compute the relationships of a step with other steps. More...
 
DesignFlowStepFactoryConstRef CGetDesignFlowStepFactory () const override
 Return the factory to create this type of steps. More...
 
- Public Member Functions inherited from DesignFlowStep
 DesignFlowStep (const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters)
 Constructor. More...
 
virtual ~DesignFlowStep ()
 Destructor. More...
 
virtual void Initialize ()
 Initialize the step (i.e., like a constructor, but executed just before exec. More...
 
DesignFlowStep_Status GetStatus () const
 Return the status of this design step. More...
 
virtual void WriteDot (std::ostream &out) const
 Write the label for a dot graph. More...
 
bool IsComposed () const
 Returns if this step is composed. More...
 
int CGetDebugLevel () const
 Return the debug level of the step. More...
 
virtual void PrintInitialIR () const
 Dump the initial intermediate representation. More...
 
virtual void PrintFinalIR () const
 Dump the final intermediate representation. More...
 

Protected Member Functions

void YYParse (const AadlParserDataRef data, const AadlFlexLexerRef lexer) const
 Wrapper to yyparse. More...
 
- Protected Member Functions inherited from ParserFlowStep
virtual std::string GetKindText () const final
 Return the name of the type of this frontend flow step. More...
 

Protected Attributes

const application_managerRef AppM
 The application manager. More...
 
- Protected Attributes inherited from ParserFlowStep
const ParserFlowStep_Type parser_step_type
 The type of the parse. More...
 
const std::string file_name
 The name of the file to be parsed. More...
 
- Protected Attributes inherited from DesignFlowStep
bool composed
 True if this step represents a composition of design flow steps (e.g., a flow); must be set by specialized constructors. More...
 
const Wrefcount< const DesignFlowManagerdesign_flow_manager
 The design flow manager. More...
 
const ParameterConstRef parameters
 Set of input parameters. More...
 
int debug_level
 The debug level. More...
 
const int output_level
 The output level. More...
 

Additional Inherited Members

- Public Types inherited from DesignFlowStep
enum  RelationshipType { DEPENDENCE_RELATIONSHIP, INVALIDATION_RELATIONSHIP, PRECEDENCE_RELATIONSHIP }
 The relationship type. More...
 
- Static Public Member Functions inherited from ParserFlowStep
static const std::string ComputeSignature (const ParserFlowStep_Type parser_step_type, const std::string &file_name)
 Compute the signature of a parser flow step. More...
 
- Static Protected Member Functions inherited from ParserFlowStep
static const std::string EnumToKindText (const ParserFlowStep_Type parser_step_type)
 Given a parser step type, return the name of the type. More...
 

Detailed Description

Definition at line 83 of file aadl_parser.hpp.

Constructor & Destructor Documentation

◆ AadlParser()

AadlParser::AadlParser ( const DesignFlowManagerConstRef  design_flow_manager,
const std::string &  file_name,
const application_managerRef  AppM,
const ParameterConstRef  parameters 
)

Constructor.

Parameters
design_flow_manageris the design flow manager
file_nameis the file to be parsed
AppMis the application manager
parametersis the set of input parameters

Definition at line 85 of file aadl_parser.cpp.

References DesignFlowStep::debug_level, GET_CLASS, and ~AadlParser().

Here is the call graph for this function:

◆ ~AadlParser()

AadlParser::~AadlParser ( )
overridedefault

Destuctor.

Referenced by AadlParser().

Here is the caller graph for this function:

Member Function Documentation

◆ Exec()

DesignFlowStep_Status AadlParser::Exec ( )
overridevirtual

◆ YYParse()

void AadlParser::YYParse ( const AadlParserDataRef  data,
const AadlFlexLexerRef  lexer 
) const
protected

Wrapper to yyparse.

Parameters
datais the data to be passed to the parser
lexeris the lexer

Referenced by Exec().

Here is the caller graph for this function:

Field Documentation

◆ AppM

const application_managerRef AadlParser::AppM
protected

The application manager.

Definition at line 87 of file aadl_parser.hpp.

Referenced by Exec().


The documentation for this class was generated from the following files:

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