|
| Variable * | ast::aNewVariable (StringView name, Expr *expr=nullptr, bool bind=false) |
| |
|
Variable * | ast::aNewVariable (Expr *expr, bool bind) |
| |
| Symbol * | ast::aNewSymbol (StringView name) |
| |
| Expr * | ast::aNewOpAssign (EOpAssignType op, Expr *left, Expr *right) |
| |
| Expr * | ast::aNewOpBin (EOpBinType op, Expr *left, Expr *right) |
| |
| Expr * | ast::aNewOpUnary (EOpUnaryType op, Expr *expr) |
| |
| Expr * | ast::aNewExprCondition (Expr *condition, Expr *thenExpr, Expr *elseExpr=nullptr) |
| |
| Expr * | ast::aNewExprRange (Expr *start, Expr *stop, Expr *step=nullptr) |
| |
| Value * | ast::aNewValueString (StringView value) |
| |
| Value * | ast::aNewValueInt (int value) |
| |
| Value * | ast::aNewValueBool (bool value) |
| |
| Value * | ast::aNewValueDouble (double value) |
| |
| Value * | ast::aNewValueDict () |
| |
| Value * | ast::aNewValueQuantity (const Quantity &value) |
| |
|
Value * | ast::aValueNull () |
| |
| Expr * | ast::aParseExpr (StringView script) |
| |
| Expr * | ast::aExpandExpr (Expr *expr) |
| |
| Expr * | ast::aExpand (StringView script) |
| |
| Value * | ast::aEval (StringView script) |
| |
| Value * | ast::aEvalExpr (Expr *expr) |
| |
| bool | ast::aValueIsBool (Value *value) |
| |
| bool | ast::aValueIsDouble (Value *value) |
| |
| bool | ast::aValueIsInt (Value *value) |
| |
| bool | ast::aValueIsArithmetic (Value *value) |
| |
| bool | ast::aValueIsString (Value *value) |
| |
| bool | ast::aValueIsQuantity (Value *value) |
| |
| double | ast::aValueToDouble (Value *value) |
| |
| bool | ast::aValueUnboxBool (Value *value) |
| |
| double | ast::aValueUnboxDouble (Value *value) |
| |
| int | ast::aValueUnboxInt (Value *value) |
| |
| Quantity | ast::aValueUnboxQuantity (Value *value) |
| |
| std::string | ast::aFormatExpr (Expr *expr, Object *context=nullptr) |
| |
|
OpBinFunc | ast::aGetOpBinFunc (EOpBinType op, Class *leftType, Class *rightType) |
| |
|
OpAssignFunc | ast::aGetOpAssignFunc (EOpAssignType op, Class *leftType, Class *rightType) |
| |
|
OpUnaryFunc | ast::aGetOpUnaryFunc (EOpUnaryType op, Class *type) |
| |
|
IterateFunc | ast::aGetIterateFunc (Class *type) |
| |
| Value * | ast::aDoOpBin (EOpBinType op, Value *left, Value *right) |
| |
| Value * | ast::aDoOpUnary (EOpUnaryType op, Value *value) |
| |
| Value * | ast::aDoOpAssign (EOpAssignType op, Expr *left, Expr *right) |
| |
| Value * | ast::aIterateBegin (Value *container, int &index) |
| |
| Value * | ast::aIterateNext (Value *container, int &index) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (int value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (double value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (bool value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (const Quantity &value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (StringView value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (const std::string &value) |
| |
|
A_ALWAYS_INLINE Value * | ast::aNewValue (const char *value) |
| |
|
template<typename T > |
| Value * | ast::aNewValue (T)=delete |
| |
| Interpreter * | ast::aScript_GetInterpreter () |
| |
| Interpreter * | ast::aScript_SwapInterpreter (Interpreter *interpreter) |
| |
| void | ast::aScript_SetInterpreter (Interpreter *interpreter) |
| |
| void | ast::aScript_RemoveInterpreter (Interpreter *interpreter) |
| |
| ISymbolScope * | ast::aScript_CurrentSymbolScope () |
| |
| void | ast::aScript_AddSymbol (Variable *var) |
| |
| void | ast::aScript_AddSymbol (StringView name, Expr *expr) |
| |
| Expr * | ast::aScript_FindSymbol (StringView name) |
| |
| Expr * | ast::aScript_FindSymbol (const Symbol *symbol) |
| |
| Expr * | ast::aScript_ResolveSymbol (StringView name) |
| |
| Expr * | ast::aScript_ResolveSymbol (const Symbol *symbol) |
| |
| void | ast::aScript_SetErrString (StringView err) |
| |
| void | ast::aScript_FormartErrStringV (StringView fmt, va_list args) |
| |
| void | ast::aScript_FormatErrString (StringView fmt,...) |
| |