Class Method¶
- Defined in File quack_method.h
Class Documentation¶
-
class
Method¶ Public Functions
-
Method(std::string name, const std::string &return_type, Param::Container *params, AST::Block *block)¶
-
~Method()¶
-
void
print_original_src(unsigned int indent_depth = 0)¶ Debug method used to print the original source code.
- Parameters
indent_depth: Amount of tabs to indent the block.
Public Members
-
const std::string
name_¶ Name of the method
-
InitializedList *
init_list_= nullptr¶
-
const std::string
return_type_name_¶ Name of the return type of the method (if any)
Friends
-
friend
Quack::Method::Quack::Class
-
friend
Quack::Method::Quack::Program
-
friend
Quack::Method::CodeGen::Gen
-
class
Container: public MapContainer<Method>¶ Public Functions
-
const void
print_original_src(unsigned int indent_depth)¶
-
const void
-