tree-gen
C++ code generator for tree structures
Namespaces | Functions
tree-gen.cpp File Reference

Main source file for tree-gen. More...

Go to the source code of this file.

Namespaces

 tree_gen
 Namespace for the tree-gen program.
 

Functions

std::string tree_gen::replace_all (std::string str, const std::string &from, const std::string &to)
 Convenience method for replacing all occurrences of a substring in a string with another string. More...
 
int main (int argc, char *argv[])
 Main function for generating the the header and source file for a tree. More...
 

Detailed Description

Main source file for tree-gen.

Definition in file tree-gen.cpp.

#include "tree-gen.hpp"
#include "tree-gen-cpp.hpp"
#include "tree-gen-python.hpp"
#include "parser.hpp"
#include "lexer.hpp"
Include dependency graph for tree-gen.cpp:

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main function for generating the the header and source file for a tree.

Definition at line 313 of file tree-gen.cpp.