| 37 | } |
| 38 | |
| 39 | int const* function::find_var(std::string const& name) const |
| 40 | { |
| 41 | std::map<std::string, int>::const_iterator i = variables.find(name); |
| 42 | if (i == variables.end()) |
| 43 | return 0; |
| 44 | return &i->second; |
| 45 | } |
| 46 | |
| 47 | void function::add_var(std::string const& name) |
| 48 | { |
no test coverage detected