MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / AddRule

Method AddRule

src/twparser/genreparseinfo.cpp:104–107  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// AddRule -- adds the specified rule to our list. we will eventually call MakeFCOSpecs(), which will use this list as its source. NOTE: the list is responsible for freeing the pointers //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

102// NOTE: the list is responsible for freeing the pointers
103///////////////////////////////////////////////////////////////////////////////
104void cGenreParseInfo::AddRule(const cParseRule* pnode)
105{
106 mRuleList.push_back(pnode);
107}
108
109///////////////////////////////////////////////////////////////////////////////
110// RulePointAlreadyDefined -- returns true if the given name was already used

Callers 1

yyparse.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected