ContRap-Core
|
Class declaration is represents a list of assignments or identifiers, where each of them declares a local identifier. More...
#include <command.h>
Public Member Functions | |
Declaration (const DPtr &object=DPtr::bottom) | |
Constructs a new declaration. | |
virtual | ~Declaration () |
Virtual destructor. | |
virtual CommandType | get_command_type () const |
Returns the enumerated type of the command. | |
virtual std::string | to_string () const |
Converts the object to a non-formatted string. |
Class declaration is represents a list of assignments or identifiers, where each of them declares a local identifier.
crp::Declaration::Declaration | ( | const DPtr & | object = DPtr::bottom | ) |
Constructs a new declaration.
object | Object to declare |
virtual crp::Declaration::~Declaration | ( | ) | [inline, virtual] |
Virtual destructor.
virtual CommandType crp::Declaration::get_command_type | ( | ) | const [inline, virtual] |
virtual std::string crp::Declaration::to_string | ( | ) | const [virtual] |
Converts the object to a non-formatted string.
This method is thought to be used for debugging purposes only.
Reimplemented from crp::Command.