Package gavo :: Package svcs :: Module inputdef :: Class ContextRowIterator
[frames] | no frames]

Class ContextRowIterator

source code

                 object --+    
                          |    
grammars.common.RowIterator --+
                              |
                             ContextRowIterator

is a row iterator over "contexts", i.e. single dictionary-like objects.

The source token expected here can be a request.args style dictionary with lists of strings as arguments, or a parsed dictionary from nevow formal. Non-list literals in the latter are packed into a list to ensure consistent behaviour.

Instance Methods
 
__init__(self, grammar, sourceToken, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getParameters(self) source code
 
getLocator(self) source code

Inherited from grammars.common.RowIterator: __iter__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from grammars.common.RowIterator: notify

Properties

Inherited from grammars.common.RowIterator: recordNumber

Inherited from object: __class__

Method Details

__init__(self, grammar, sourceToken, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getParameters(self)

source code 
Overrides: grammars.common.RowIterator.getParameters

getLocator(self)

source code 
Overrides: grammars.common.RowIterator.getLocator