![]() |
Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a call to an internal function. More...
#include <Ast.hpp>
Public Member Functions | |
| InternalCallExpr (const QualifiedType &type, const z::string &name, const ExprList &list) | |
| Default constructor. | |
| const z::string & | getName () const |
| Returns the internal function name. | |
| const ExprList & | getList () const |
| Returns the parameter list. | |
Private Member Functions | |
| virtual void | visit (Expr::Visitor &visitor) const |
| Abstract visitor function. | |
Private Attributes | |
| const z::string | _name |
| The function name. | |
| const ExprList & | _list |
| The parameter list. | |
Concrete class for AST Node representing a call to an internal function.
For example:
Here, assert and unused are internal calls.
| InternalCallExpr | ( | const QualifiedType & | type, |
| const z::string & | name, | ||
| const ExprList & | list | ||
| ) | [inline] |
Default constructor.
| type | Expression type |
| name | The name of the internal function being called. |
| list | The list of parameters to call it with. |
| const ExprList& getList | ( | ) | const [inline] |
Returns the parameter list.
| const z::string& getName | ( | ) | const [inline] |
Returns the internal function name.
| void visit | ( | Expr::Visitor & | visitor | ) | const [private, virtual] |