| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.structure.StructureBase --+
|
object --+ |
| |
base.common.Parser --+
|
base.structure.ParseableStructure --+
|
base.structure.Structure --+
|
object --+ |
| |
base.structure.RestrictionMixin --+
|
rscdef.procdef.ProcDef --+
|
rscdef.procdef.ProcApp --+
|
Rowfilter
A generator for rows coming from a grammar.
Rowfilters receive rows (i.e., dictionaries) as yielded by a grammar under the name row. Additionally, the embedding row iterator is available under the name rowIter.
Macros are expanded within the embedding grammar.
The procedure definition *must* result in a generator, i.e., there must be at least one yield; in general, this will typically be a ``yield row``, but a rowfilter may swallow or create as many rows as desired.
If you forget to have a yield in the rowfilter source, you'll get a "NoneType is not iterable" error that's a bit hard to understand.
Here, you can only access whatever comes from the grammar. You can access grammar keys in late parameters as row[key] or, if key is like an identifier, as @key.
| Nested Classes | |
|
Inherited from |
| Instance Methods | |||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| Class Methods | |
|
Inherited from |
| Class Variables | |
name_ = hash(x) |
|
requiredType = hash(x) |
|
formalArgs =
|
|
|
Inherited from Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
returns a function definition for this proc application. This includes bindings of late parameters. Locally defined code overrides code defined in a procDef.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |