Gnm.NamedExprCollection

Fields

None

Methods

class

new ()

dump (id)

foreach (func, *data)

list ()

lookup (name)

relink ()

sanity_check (id)

unlink ()

unref ()

Details

class Gnm.NamedExprCollection
classmethod new()
Returns:

the newly allocated Gnm.NamedExprCollection.

Return type:

Gnm.NamedExprCollection

dump(id)
Parameters:

id (str) –

foreach(func, *data)
Parameters:

Iterate over all names, including placeholders.

list()
Return type:

[Gnm.NamedExpr]

lookup(name)
Parameters:

name (str) –

Return type:

Gnm.NamedExpr

sanity_check(id)
Parameters:

id (str) –

Return type:

bool

unref()

Frees names defined in the local scope. NOTE : THIS DOES NOT INVALIDATE NAMES THAT REFER TO THIS SCOPE. eg in scope sheet2 we have a name that refers to sheet1. That will remain!