Parameter encapsulates one parameter to a function
Public Typedefs Summary: | |
std::vector<std::string> | Mods The type of modifiers such as 'in', 'out' [Source] |
std::vector<Parameter*> | vector A vector of Parameter objects [Source] |
Public Member functions Summary: | |
constructor | Parameter(const Mods& pre, Types::Type* type, const Mods& post, const std::string& name, const std::string& value) Constructor [Source] |
destructor | ~Parameter() Destructor [Source] |
void | accept(Visitor*) Accept the given AST::Visitor. [Source] |
Mods& | premodifier() Returns the premodifier [Source] |
Mods& | postmodifier() Returns the postmodifier [Source] |
Types::Type* | type() Returns the type of the parameter [Source] |
const Types::Type* | type() Const version of type() [Source] |
const std::string& | name() Returns the name of the parameter [Source] |
const std::string& | value() Returns the value of the parameter [Source] |
void | set_name(const std::string& name) Sets the name of the parameter [Source] |
Private Data members Summary: | |
Mods | m_pre [Source] |
Mods | m_post [Source] |
Types::Type* | m_type [Source] |
std::string | m_name [Source] |
std::string | m_value [Source] |
Public Data members Inherited from FakeGC::cleanup | |
cleanup_next |
Public Member function Details: |
Accept the given AST::Visitor. Note this is not derived from Declaration so it is not a virtual method.