Output
INCLUDE FILE
#include "Entity/Output.h"
class Output
DEFINITION
class Output;
constructor Output
DEFINITION
| Output | ( | const Location & location, | |
| const Target * target, | |||
| Body body | ); |
| PARAMETER | DESCRIPTION |
|---|---|
location |
|
target |
|
body |
method add_memory_constantprivate
DEFINITION
| void add_memory_constant | ( | Symbol name, | |
| MemoryInfoExpression::InfoType info_type | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
|
info_type |
method enter_names
DEFINITION
| void enter_names | ( | ); |
method get_bodyconst
DEFINITION
| const Body & get_body | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
const Body & |
method resolve_implementationvirtual private
Resolve names in the entity.
The default implementation calls resolve() on all sub-body-elements and sub-expressions using traverse().
DEFINITION
| virtual void resolve_implementation | ( | ); |
method traversevirtual private
Traverse the Entity.
This function is used by the default implementations of resolve_implementation() and expand_calls_implementation(). Unless a subclass overrides both of these methods, it should override traverse().
DEFINITION
| virtual void traverse | ( | std::function< void(Entity &)> entity_callable, | |
| std::function< void(Body &)> body_callable, | |||
| std::function< void(Expression &)> expression_callable | ); |
| PARAMETER | DESCRIPTION |
|---|---|
entity_callable |
|
body_callable |
A callable to apply to each sub-body-element. |
expression_callable |
A callable to apply to each sub-expression. |
member body
DEFINITION
Body body;
member memory
DEFINITION
Memory * memory;
member token_outputstatic private
DEFINITION
static Token token_output;