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 --+ | EmbeddedPargetter
A definition of the parameter getter of an embedded grammar.
The code defined here becomes the getParameters method of the generated row iterator. This means that the dictionary returned here becomes the input to a parmaker.
If you don't define it, the parameter dict will be empty.
Like the iterators, pargetters see the current source token as self.sourceToken, and the grammar as self.grammar.
It is guaranteed that the pargetter is called exactly once before the iterator runs. Hence, if you have expensive initialisation to do, do it in the pargetter and pass the result to the interator, typically somehow in the sourceToken.
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 |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |