Module Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier ImportFrom alias identifier ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad Call NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore Call NameLoad Index NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Continue Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Continue Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Return NameLoad Raise Call NameLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue If CompareEq NameLoad Str body Continue Assign NameStore SubscriptLoad NameLoad Slice Num TryExcept body TryExcept body Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad keyword ListLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad Dict Dict ListLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad
N/A N/A traceback _traceback N/A types _types N/A sys _sys N/A re _re N/A os _os romeo.entity Entity _Entity NoMatch N/A Exception N/A N/A N/A _Query N/A _Entity N/A N/A HANDLERS N/A property N/A N/A N/A s N/A N/A s _handler __init__ N/A N/A self N/A N/A N/A N/A self _handler N/A N/A N/A self _data N/A dict N/A N/A name value N/A N/A name value N/A N/A N/A globals iteritems N/A N/A N/A _sys modules N/A grammars self N/A N/A var val N/A N/A N/A self _data iteritems N/A N/A N/A N/A globals N/A var val N/A N/A N/A var startswith _ N/A N/A N/A N/A setattr self var val N/A __getitem__ N/A N/A self param N/A N/A N/A N/A N/A N/A self _data get param N/A __setitem__ N/A N/A self param value N/A N/A N/A N/A N/A self _data N/A param value N/A __delitem__ N/A N/A self param N/A N/A N/A N/A param N/A self _data N/A N/A N/A N/A self _data N/A param N/A __getattr__ N/A N/A self param N/A N/A N/A N/A N/A N/A N/A self _data N/A param N/A N/A N/A KeyError N/A N/A N/A AttributeError N/A %s has no attribute "%s" N/A self param N/A __iter__ N/A N/A self N/A N/A N/A N/A key value N/A sorted N/A N/A N/A self _data items N/A N/A N/A N/A key value N/A N/A search N/A N/A querystring N/A N/A N/A Given a ``querystring`` dispatch it to the appropriate function

       @exception RuntimeError - if lookup function isn't a generator
       @exception NoMatch - if lookup function isn't found for ``querystring``

       @param querystring (string)
       @return callable - called
     N/A N/A regex func N/A N/A N/A _Query _handler iteritems N/A N/A match N/A N/A regex search querystring N/A N/A match N/A N/A N/A obj N/A func N/A N/A match groupdict N/A N/A N/A isinstance obj N/A _types GeneratorType N/A N/A N/A RuntimeError N/A Method %s is not a generator!!! N/A str func N/A obj N/A N/A NoMatch N/A query N/A N/A N/A attrs N/A N/A Decorator for defining query functions

       ALL Decorated METHODS must be GENERATORS!!!!! If you don't adhere to
       this expect RuntimeErrors to be thrown by ``romeo.grammars.search`` 
       method!! You have been warned.

       ``@query(pattern="^(\?|help) ?(?P<regex>\S+)?", form="? [regex]", 
          help="Display help, optionally filtered")
         def help_function(regex):
             ...
       ``

       @param attrs: - required
           pattern (string) - must work with re.compile
       @param attrs: - optional
           form (string) - example notation for help
           help (string) - human readable explanation

       @return callable
     N/A N/A pattern attrs N/A N/A N/A AssertionError Query functions must have a 'pattern' attribute N/A defaults N/A form help <unknown form> ??? apply_attrs N/A N/A func N/A N/A N/A N/A N/A defaults update N/A func __dict__ N/A N/A N/A N/A func __dict__ update defaults N/A N/A N/A N/A func __dict__ update attrs N/A N/A func __doc__ N/A '%(form)s':
		%(help)s
 N/A func __dict__ N/A N/A N/A _Query _handler N/A N/A N/A _re compile N/A func pattern func N/A func N/A N/A apply_attrs N/A get_handlers N/A N/A N/A N/A N/A returns the query handler dictionary N/A N/A _Query HANDLERS N/A loadAll N/A N/A N/A N/A N/A this method should only be called by the 'romeo' module N/A my_dir N/A N/A N/A _os path dirname __file__ N/A filename N/A N/A _os listdir my_dir N/A N/A N/A N/A N/A filename endswith .py N/A N/A N/A N/A filename __init__.py N/A N/A N/A modname N/A filename N/A -3 N/A N/A N/A N/A N/A mod N/A __import__ N/A N/A __name__ . modname fromlist N/A modname N/A N/A N/A TypeError N/A N/A mod N/A __import__ N/A N/A __name__ . modname N/A N/A N/A modname N/A N/A N/A N/A N/A N/A _traceback print_exc N/A N/A _Query N/A _Query