A class that represents a function's body and its statements.
More...
#include <omScriptingMirMethods.h>
A class that represents a function's body and its statements.
om::scripting::mir::lang::FunctionBody::FunctionBody |
( |
| ) |
|
|
inline |
Create a new function body object with no statements.
Size om::scripting::mir::lang::FunctionBody::getStatementCount |
( |
| ) |
const |
|
inline |
Return the number of statements that this function body contains.
const Shared<Statement>& om::scripting::mir::lang::FunctionBody::getStatement |
( |
Index |
statementIndex | ) |
const |
|
inline |
Return a pointer to the statement at the specified index in this function body.
Bool om::scripting::mir::lang::FunctionBody::addStatement |
( |
const Shared< Statement > & |
newStatement | ) |
|
|
inline |
Add the specified statement to the end of this function body's statement list.
The documentation for this class was generated from the following file: