HappyDoc Generated Documentation Class: Engine

HappyDoc3-r3_1 / happydoclib / docset / docset_TAL / hdTALES.py / Engine 

Expression Engine

An instance of this class keeps a mutable collection of expression type handlers. It can compile expression strings by delegating to these handlers. It can provide an expression Context, which is capable of holding state and evaluating compiled expressions.

Methods   
  registerType 
registerType (
        self,
        name,
        handler,
        )
Exceptions   

RegistrationError, ( 'Multiple registrations for Expression type "%s".' % name )
RegistrationError, 'Invalid Expression type "%s".' % name

  getContext 
getContext (
        self,
        contexts=None,
        **kwcontexts,
        )
  compile 
compile ( self,  expression )
Exceptions   

CompilerError, ( 'Unrecognized expression type "%s".' % type )

  getCompilerError 
getCompilerError ( self )
  __init__ 
__init__ ( self,  Iterator=None )
  getTypes 
getTypes ( self )

This document was automatically generated Tue Dec 5 08:30:33 2006 by HappyDoc version 3.1