#include <symbols.h>
Public Member Functions | |
bool | exists () |
bool | has_name (std::string name) |
bool | has_param_name (std::string param) |
bool | has_param_names_in (std::vector< std::string > params) |
Symbol () | |
Symbol (std::string line) | |
Symbol (std::string name, std::vector< std::string > param_names) | |
Public Attributes | |
std::string | name_ |
std::vector< std::string > | param_names_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Symbol &s) |
bool | operator== (Symbol &s1, Symbol &s2) |
Symbol::Symbol | ( | ) | [inline] |
Symbol::Symbol | ( | std::string | line | ) |
Definition at line 65 of file symbols.cpp.
Symbol::Symbol | ( | std::string | name, |
std::vector< std::string > | param_names | ||
) | [inline] |
bool Symbol::exists | ( | ) |
Definition at line 112 of file symbols.cpp.
bool Symbol::has_name | ( | std::string | name | ) |
Definition at line 71 of file symbols.cpp.
bool Symbol::has_param_name | ( | std::string | param | ) |
Definition at line 81 of file symbols.cpp.
bool Symbol::has_param_names_in | ( | std::vector< std::string > | params | ) |
Definition at line 92 of file symbols.cpp.
std::ostream& operator<< | ( | std::ostream & | out, |
const Symbol & | s | ||
) | [friend] |
Definition at line 51 of file symbols.cpp.
Definition at line 46 of file symbols.cpp.
std::string Symbol::name_ |
std::vector<std::string> Symbol::param_names_ |