Constructors
constructor
new Expr(properties?: Partial<{}>): Expr Parameters
Optionalproperties: Partial<{}>
Properties
Methods
eval
eval(scope: Scope, return_value: any): boolean Parameters
- scope: Scope
- return_value: any
Returns boolean
new_getattr
new_getattr(attr: string): Expr
new_gi_call
new_gi_call(name: string, params: Expr): Expr
new_invert_boolean
new_invert_boolean(): Expr
new_setattr
new_setattr(attr: string, right: Expr): Expr
Staticfrom_string
from_string(str: string): Expr
Staticnew_boolean
new_boolean(value: boolean): Expr
Staticnew_func
new_func(name: string, symlist: string, list: Expr): Expr Parameters
- name: string
- symlist: string
- list: Expr
Staticnew_number
new_number(value: number): Expr
Staticnew_require
new_require(typelib: string, version: string): Expr Parameters
- typelib: string
- version: string
Staticnew_string
new_string(value: string, length: number): Expr Parameters
- value: string
- length: number
Staticnew_symbol_assign
new_symbol_assign(symbol: string, right: Expr): Expr Parameters
- symbol: string
- right: Expr
Staticnew_symbol_ref
new_symbol_ref(symbol: string): Expr
Staticnew_user_fn_call
new_user_fn_call(name: string, param: Expr): Expr