1 #ifndef __DIADES__ALTARICA__MODEL__ACQUISITION__HH 2 #define __DIADES__ALTARICA__MODEL__ACQUISITION__HH 5 #include<arsyntax/altarica-tree.h> 24 void getModel(AltaricaTree * tree, AltaricaModel & model);
30 void getConstant(AltaricaTree * tree, AltaricaModel & model);
36 void getDomain(AltaricaTree * tree, AltaricaModel & model);
75 void getRange(AltaricaTree * tree,
int & min,
int & max, NodeDecl & node);
94 void getAttributes(AltaricaTree * attributes, set<Identifier> & newAttributes);
177 void getIdList(AltaricaTree * idListNodeDecl, set<Identifier> & list);
188 NodeDecl & nodeDecl);
201 list<EventDecl::Reference> & events);
212 void getEventDeclDag(AltaricaTree * eventDagNodeDecl,NodeDecl & nodeDecl,
213 list<EventDecl::Reference> & events);
224 void getEventDeclLt(AltaricaTree * eventLtNode,NodeDecl & nodeDecl,
225 list<EventDecl::Reference> & events);
235 void getEventDeclGt(AltaricaTree * eventLtNode,NodeDecl & nodeDecl,
236 list<EventDecl::Reference> & events);
246 void getSubNodeDecl(AltaricaTree * nodeField,NodeDecl & nodeDecl);
257 NodeDecl & nodeDecl);
268 NodeDecl & nodeDecl);
280 list<Identifier> & path);
292 const Assignment &
getAssignment(AltaricaTree * assignmentNode,
293 NodeDecl & nodeDecl);
326 void altaricaNodeCheck(AltaricaTree * parent, AltaricaTree * node,
unsigned type,
const string &
function)
throw();
423 void logLine(AltaricaTree * syntaxicalNode);
433 string seeLine(AltaricaTree * tree);
void getNodeDeclVariablesDeclPerType(AltaricaTree *varDecl, NodeDecl::VarType type, NodeDecl &nodeDecl)
void getAttributes(AltaricaTree *attributes, set< Identifier > &newAttributes)
void getNodeDeclAssertionsDef(AltaricaTree *nodeField, NodeDecl &nodeDecl)
An Identifier is a reference to a string (IdentifierData) that only contains alpha-numeric characters...
void logLine(AltaricaTree *syntaxicalNode)
void getNodeDeclSynchronizationDef(AltaricaTree *synchronisationsNodeDecl, NodeDecl &nodeDecl)
Diades::Graph::Edge Transition
void getNodeDeclParametersDecl(AltaricaTree *nodeField, NodeDecl &nodeDecl)
void getModel(AltaricaTree *tree, AltaricaModel &model)
void getEventDeclLt(AltaricaTree *eventLtNode, NodeDecl &nodeDecl, list< EventDecl::Reference > &events)
void altaricaNodeCheck(AltaricaTree *parent, AltaricaTree *node, unsigned type, const string &function)
void getNodeDeclStep1(AltaricaTree *tree, AltaricaModel &model)
const Assignment & getAssignment(AltaricaTree *assignmentNode, NodeDecl &nodeDecl)
Diades::Utils::Logger parserLogger()
void getIdentifier(AltaricaTree *tree, Identifier &id)
void getIdList(AltaricaTree *idListNodeDecl, set< Identifier > &list)
void getNodeDeclEventsDecl(AltaricaTree *eventDeclNode, NodeDecl &nodeDecl)
void getSymbolSet(AltaricaTree *tree, AltaricaModel &model, ValueEnumeration &symbols)
void getNodeDeclVariablesDecl(AltaricaTree *nodeField, NodeDecl &nodeDecl)
void getConstant(AltaricaTree *tree, AltaricaModel &model)
void logUnexpectedNode(AltaricaTree *syntaxicalNode, const string &expected)
void getDomain(AltaricaTree *tree, AltaricaModel &model)
void getNodeDeclInitDecl(AltaricaTree *nodeField, NodeDecl &nodeDecl)
void logMissingNode(AltaricaTree *syntaxicalNodeDecl)
Diades::Utils::Log parserLog(const char *msg)
Namespace of the Diades project.
altarica_tree AltaricaTree
void getEventDeclDag(AltaricaTree *eventDagNodeDecl, NodeDecl &nodeDecl, list< EventDecl::Reference > &events)
void getEventDeclGt(AltaricaTree *eventLtNode, NodeDecl &nodeDecl, list< EventDecl::Reference > &events)
void getNodeDeclEventDeclDagList(AltaricaTree *eventDagListNodeDecl, NodeDecl &nodeDecl, list< EventDecl::Reference > &events)
void getNodeDeclStep2(AltaricaTree *tree, AltaricaModel &model)
void getNodeDeclEventDeclInstance(AltaricaTree *eventInstanceNode, list< Identifier > &path)
string seeLine(AltaricaTree *tree)
void getNodeDeclSyncVector(AltaricaTree *vectorNode, NodeDecl &nodeDecl)
string getLabelType(unsigned type)
vector< Value::ConstReference > ValueEnumeration
enumeration of Value elements (unicity and sorting is in charge of the user)
void getSubNodeDeclSet(AltaricaTree *nodeField, NodeDecl &nodeDecl)
const Domain & getDomainContent(AltaricaTree *tree, AltaricaModel &model, const Identifier &domainName)
Logging facilities for the Diades projects.
void getNodeDeclParamSetDecl(AltaricaTree *nodeField, NodeDecl &nodeDecl)
Diades::Utils::Log parserLogDebug(const char *msg)
void getNodeDeclTransitionsDef(AltaricaTree *transitionsDefNode, NodeDecl &nodeDecl)
void getTransitionTgt(AltaricaTree *transitionTgtNode, Transition &transition, NodeDecl &nodeDecl)
void getRange(AltaricaTree *tree, int &min, int &max, NodeDecl &node)
void getSubNodeDecl(AltaricaTree *nodeField, NodeDecl &nodeDecl)