Function
class Function
Represents a function.
DEFINITION
class Function;
constructor Function
DEFINITION
| Function | ( | ObjectFile * owner, | |
| const Token & name, | |||
| const std::shared_ptr< StructuredValue > & definition | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
name |
|
definition |
constructor Function
DEFINITION
| Function | ( | ObjectFile * owner, | |
| const Token & name, | |||
| Visibility visibility, | |||
| bool default_only, | |||
| Arguments arguments, | |||
| const Expression & definition | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
name |
|
visibility |
|
default_only |
|
arguments |
|
definition |
method callconst
DEFINITION
| Expression call | ( | const Location & location, | |
| const std::vector< Expression > & arguments | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
location |
|
arguments |
| RETURNS | DESCRIPTION |
|---|---|
Expression |
method evaluate_innervirtual
DEFINITION
| virtual void evaluate_inner | ( | EvaluationContext & context | ); |
| PARAMETER | DESCRIPTION |
|---|---|
context |
method serializeconst
DEFINITION
| void serialize | ( | std::ostream & stream | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
stream |
member definition
DEFINITION
Expression definition;