#include <function_body.h>
Collaboration diagram for Function_body_queue:
Public Methods | |
Function_body_queue () | |
Create a function body queue. More... | |
void | add_function (Function_signature *fsig, Block_scope *scope, Ptree *tree, Ptree *init) |
Add function definition. More... | |
void | process () |
Process all enqueued function bodies. More... | |
Private Methods | |
Function_body_node * | pop () |
Private Attributes | |
Function_body_node * | first |
Function_body_node * | last |
|
Create a function body queue.
Definition at line 24 of file function_body.cc. |
|
Add function definition.
Definition at line 36 of file function_body.cc. References first, Function_signature::get_function(), Function_symbol::get_function_kind(), Symbol_name::k_Constructor, last, and Function_body_node::next. Referenced by Namespace_scope::add_function_implementation(). |
|
Definition at line 57 of file function_body.cc. References first, last, and Function_body_node::next. Referenced by process(). |
|
Process all enqueued function bodies.
Definition at line 72 of file function_body.cc. References Function_body_node::fsig, Function_body_node::init, pop(), process_function_body(), Function_body_node::scope, and Function_body_node::tree. Referenced by Namespace_scope::process_pending(). |
|
Definition at line 27 of file function_body.h. Referenced by add_function(), and pop(). |
|
Definition at line 27 of file function_body.h. Referenced by add_function(), and pop(). |