53 :
DesignFlowStep(_design_flow_manager, _parameters), parser_step_type(_parser_step_type), file_name(_file_name)
72 return "Parser::" +
STR(parser_step_type) +
"::" +
file_name;
82 switch(parser_step_type)
84 #if HAVE_FROM_AADL_ASN_BUILT ~ParserFlowStep() override
Destructor.
static const std::string ComputeSignature(const ParserFlowStep_Type parser_step_type, const std::string &file_name)
Compute the signature of a parser flow step.
const std::string file_name
The name of the file to be parsed.
This class contains the base representation for a generic parser step.
RelationshipType
The relationship type.
ParserFlowStep(const DesignFlowManagerConstRef design_flow_manager, const ParserFlowStep_Type parser_step_type, const std::string &file_name, const ParameterConstRef parameters)
Constructor.
The base class for design step.
static const std::string EnumToKindText(const ParserFlowStep_Type parser_step_type)
Given a parser step type, return the name of the type.
std::string GetSignature() const override
Return the signature of this step.
#define STR(s)
Macro which performs a lexical_cast to a string.
Auxiliary methods for manipulating string.
enum ParserFlowStep_Type { } ParserFlowStep_Type
Autoheader include.
#define THROW_UNREACHABLE(str_expr)
helper function used to specify that some points should never be reached
std::string GetName() const override
Return the name of this design step.
const ParserFlowStep_Type parser_step_type
The type of the parse.
void ComputeRelationships(DesignFlowStepSet &relationship, const DesignFlowStep::RelationshipType relationship_type) override
Compute the relationships of a step with other steps.
virtual std::string GetKindText() const final
Return the name of the type of this frontend flow step.
const Wrefcount< const DesignFlowManager > design_flow_manager
The design flow manager.
refcount< T > lock() const
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
DesignFlowStepFactoryConstRef CGetDesignFlowStepFactory() const override
Return the factory to create this type of steps.
bool HasToBeExecuted() const override
Check if this step has actually to be executed.