Gnm.ExprTop¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
expr |
r/w |
||
hash |
r/w |
||
magic |
r/w |
||
refcount |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gnm.ExprTop¶
-
- classmethod new_array_corner(cols, rows, expr)¶
- Parameters:
- Return type:
- classmethod new_array_elem(x, y)¶
- Parameters:
- Return type:
- as_gstring(out)¶
- Parameters:
out (
Gnm.ConventionsOut) –
- as_string(pp, convs)¶
- Parameters:
pp (
Gnm.ParsePos) –convs (
Gnm.Conventions) –
- Return type:
- deriv(ep, info)¶
- Parameters:
ep (
Gnm.EvalPos) – Evaluation positioninfo (
Gnm.ExprDeriv) – Derivative information
- Returns:
The derivative of self with respect to info.
- Return type:
Gnm.ExprToporNone
- equal(te2)¶
- Parameters:
te2 (
Gnm.ExprTop) –- Return type:
- eval(pos, flags)¶
- Parameters:
pos (
Gnm.EvalPos) –flags (
Gnm.ExprEvalFlags) –
- Return type:
- eval_fake_array(pos, flags)¶
- Parameters:
pos (
Gnm.EvalPos) –flags (
Gnm.ExprEvalFlags) –
- Return type:
- get_boundingbox(sheet, bound)¶
-
Returns the range of cells in which the expression can be used without going out of bounds.
- get_cellref()¶
- Return type:
- get_ranges()¶
- Returns:
a list of the unique references Caller is responsible for releasing the list and the content.
- Return type:
A collect the set of GnmRanges in expr.
- is_err(e)¶
- Parameters:
e (
Gnm.StdError) –- Return type:
- Return type:
- multiple_as_string(pp, convs)¶
- Parameters:
pp (
Gnm.ParsePos) –convs (
Gnm.Conventions) –
- Return type:
- ref()¶
- Return type:
- referenced_sheets()¶
- Returns:
the created list.
- Return type:
Generates a list of the sheets referenced by the supplied expression. Caller must free the list. Note, that
Nonemay occur in the result if the expression has a range or cellref without a sheet.
- relocate(rinfo, include_rel)¶
- Parameters:
rinfo (
Gnm.ExprRelocateInfo) –include_rel (
bool) –
- Return type:
- relocate_sheet(src, dst)¶
- Parameters:
- Return type:
- transpose()¶
- Return type:
- unref()¶