Magic stuff: Module meta¶
This module provides usefull functions or decorators.
- 
pyrser.meta.set_one(chainmap, thing_name, callobject)[source]¶ Add a mapping with key thing_name for callobject in chainmap with namespace handling.
- 
pyrser.meta.hook(cls, hookname= None)[source]¶ Attach a method to a parsing class and register it as a parser hook.
The method is registered with its name unless hookname is provided.
- 
pyrser.meta.rule(cls, rulename= None)[source]¶ Attach a method to a parsing class and register it as a parser rule.
The method is registered with its name unless rulename is provided.