25#include "AstUtil/SharedPtr.hpp"
62 const std::vector<SharedPtr<Expr>>&
getArgs()
const {
return args_; }
66 std::vector<SharedPtr<Expr>> args_;
函数调用表达式
定义 ExprCall.hpp:35
Expr * getFunc() const
获取被调用的函数表达式
定义 ExprCall.hpp:58
const std::vector< SharedPtr< Expr > > & getArgs() const
获取调用参数列表
定义 ExprCall.hpp:62
virtual Value * eval() const =0
求值
virtual std::string getExpression(Object *context=nullptr) const =0
获取表达式的字符串表示
对象基类,继承自该类的对象可以使用运行时类型信息相关功能,实现强弱引用计数、运行时元信息(属性访问、序列化等)等基础功能
定义 Object.hpp:86