Template.Expr – template-glib-1.0 Reference Manual
Packages
template-glib-1.0
Template
Expr
from_string
Expr.boolean
Expr.flow
Expr.fn_call
Expr.func
Expr.nop
Expr.null
Expr.number
Expr.require
Expr.simple
Expr.stmt_list
Expr.string
Expr.symbol_assign
Expr.symbol_ref
Expr.user_fn_call
@ref
eval
new_anon_call
new_getattr
new_gi_call
new_invert_boolean
new_setattr
unref
Expr
Object Hierarchy:
Description:
[
CCode
( ref_function =
"tmpl_expr_ref"
, type_id =
"tmpl_expr_get_type ()"
, unref_function =
"tmpl_expr_unref"
) ]
[
Compact
]
public
class
Expr
Namespace:
Template
Package:
template-glib-1.0
Content:
Static methods:
public
static
Expr
from_string
(
string
str)
throws
Error
Creation methods:
public
Expr.boolean
(
bool
value)
public
Expr.flow
(
ExprType
type,
Expr
condition,
Expr
primary,
Expr
secondary)
public
Expr.fn_call
(
ExprBuiltin
builtin,
Expr
param)
public
Expr.func
(
string
name,
string
symlist,
Expr
list)
public
Expr.nop
()
public
Expr.null
()
public
Expr.number
(
double
value)
public
Expr.require
(
string
typelib,
string
version)
public
Expr.simple
(
ExprType
type,
Expr
left,
Expr
right)
public
Expr.stmt_list
(
owned
GenericArray
<
Expr
> stmts)
Creates a new statement list for which the last item will be used as the "return value" from execution.
public
Expr.string
(
string
value,
ssize_t
length)
public
Expr.symbol_assign
(
string
symbol,
Expr
right)
public
Expr.symbol_ref
(
string
symbol)
public
Expr.user_fn_call
(
string
name,
Expr
param)
Methods:
public
Expr
@ref
()
public
bool
eval
(
Scope
scope,
Value
return_value)
throws
Error
public
Expr
new_anon_call
(
Expr
@params)
public
Expr
new_getattr
(
string
attr)
public
Expr
new_gi_call
(
string
name,
Expr
@params)
public
Expr
new_invert_boolean
()
public
Expr
new_setattr
(
string
attr,
Expr
right)
public
void
unref
()