PICodeParser::parseFileContent
This commit is contained in:
@@ -139,6 +139,11 @@ void PICodeParser::parseFiles(const PIStringList & files, bool follow_includes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void PICodeParser::parseFileContent(PIString fc) {
|
||||||
|
parseFileContent(fc, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool PICodeParser::isEnum(const PIString & name) {
|
bool PICodeParser::isEnum(const PIString & name) {
|
||||||
piForeachC(Enum & e, enums)
|
piForeachC(Enum & e, enums)
|
||||||
if (e.name == name) return true;
|
if (e.name == name) return true;
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ public:
|
|||||||
|
|
||||||
void parseFile(const PIString & file, bool follow_includes = true);
|
void parseFile(const PIString & file, bool follow_includes = true);
|
||||||
void parseFiles(const PIStringList & files, bool follow_includes = true);
|
void parseFiles(const PIStringList & files, bool follow_includes = true);
|
||||||
|
void parseFileContent(PIString fc);
|
||||||
|
|
||||||
void includeDirectory(const PIString & dir) { includes << dir; }
|
void includeDirectory(const PIString & dir) { includes << dir; }
|
||||||
void addDefine(const PIString & def_name, const PIString & def_value) { custom_defines << Define(def_name, def_value); }
|
void addDefine(const PIString & def_name, const PIString & def_value) { custom_defines << Define(def_name, def_value); }
|
||||||
|
|||||||
Reference in New Issue
Block a user