Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
namespace Synopsis::Parser::C++::AST
class Parameter
Files: Synopsis/Parser/C++/syn/ast.hh
Parameter-inheritance Scopes/Synopsis/Parser/C++/FakeGC/cleanup.html

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:
 constructorParameter(const Mods& pre, Types::Type* type, const Mods& post, const std::string& name, const std::string& value)
Constructor [Source]
 destructor~Parameter()
Destructor [Source]
 voidaccept(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]
 voidset_name(const std::string& name)
Sets the name of the parameter [Source]

Private Data members Summary:
Modsm_pre [Source]
Modsm_post [Source]
Types::Type*m_type [Source]
std::stringm_name [Source]
std::stringm_value [Source]

Public Data members Inherited from FakeGC::cleanup
cleanup_next

Public Member function Details:
 void accept(Visitor*)

Accept the given AST::Visitor. Note this is not derived from Declaration so it is not a virtual method.