|
mavtables
0.2.1
MAVLink router and firewall.
|
Functions | |
| std::ostream & | config::print_node (std::ostream &os, const config::parse_tree::node &node, bool print_location, const std::string &prefix) |
| std::ostream & | operator<< (std::ostream &os, const config::parse_tree::node &node) |
These functions are used to parse the configuration file.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const config::parse_tree::node & | node | ||
| ) |
Print AST node to the given output stream.
This is the same as calling config::print_node with the location option set to true.
| os | The output stream to print to. |
| node | The node to print, also prints it's children. |
Definition at line 229 of file config_grammar.cpp.
References print_node().

| std::ostream & config::print_node | ( | std::ostream & | os, |
| const config::parse_tree::node & | node, | ||
| bool | print_location, | ||
| const std::string & | prefix | ||
| ) |
Print an AST node and all its children.
| os | The output stream to print to. |
| node | The node to print, also prints it's children. |
| print_location | Set to true to print file and line numbers of each AST node. |
| prefix | A string to prefix to each AST element. This is reserved for internal use. |
Definition at line 166 of file config_grammar.cpp.

1.8.14