Macro
class Macro
Represents a macro.
DEFINITION
class Macro;
constructor Macro
DEFINITION
| Macro | ( | ObjectFile * owner, | |
| const Token & name, | |||
| const std::shared_ptr< StructuredValue > & definition | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
name |
|
definition |
constructor Macro
DEFINITION
| Macro | ( | ObjectFile * owner, | |
| const Token & name, | |||
| Visibility visibility, | |||
| bool default_only, | |||
| Callable::Arguments arguments, | |||
| Body body | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
name |
|
visibility |
|
default_only |
|
arguments |
|
body |
method evaluate_innervirtual
DEFINITION
| virtual void evaluate_inner | ( | EvaluationContext & context | ); |
| PARAMETER | DESCRIPTION |
|---|---|
context |
method evaluation_contextvirtual
DEFINITION
| virtual EvaluationContext evaluation_context | ( | EvaluationResult & result | ); |
| PARAMETER | DESCRIPTION |
|---|---|
result |
| RETURNS | DESCRIPTION |
|---|---|
EvaluationContext |
method expandconst
DEFINITION
| Body expand | ( | const std::vector< Expression > & arguments, | |
| std::shared_ptr< Environment > outer_environment | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
arguments |
|
outer_environment |
| RETURNS | DESCRIPTION |
|---|---|
Body |
method serializeconst
DEFINITION
| void serialize | ( | std::ostream & stream | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
stream |
member body
DEFINITION
Body body;