34 bool opt_verbose =
false;
37 std::vector<std::string> expandNedFolder(
const char *fname);
38 std::vector<std::string> expandFileArg(
const char *arg);
39 bool fileLooksLikeXml(
const char *filename);
40 NedFileElement *parseNedFile(
const char *fname,
bool opt_storesrc);
41 ASTNode *parseXmlFile(
const char *filename);
42 FilesElement *wrapIntoFilesElement(
ASTNode *tree);
44 void generateNedFile(
const char *filename, NedFileElement *tree);
45 void generateNedFiles(FilesElement *tree);
46 void generateXmlFile(
const char *filename,
ASTNode *tree,
bool srcloc);
47 void renameFileToBak(
const char *fname);
50 void helpCommand(
int argc,
char **argv);
51 void printHelpPage(
const std::string& page);
52 void convertCommand(
int argc,
char **argv);
53 void prettyprintCommand(
int argc,
char **argv);
54 void validateCommand(
int argc,
char **argv);
55 void generateCppCommand(
int argc,
char **argv);
57 int main(
int argc,
char **argv);