Table of Contents

Class: AbstractInterpreter ./src/peak/running/commands.py

Creates and runs a subcommand by interpreting 'argv[1]'

Base Classes   
AbstractCommand
    binding.Component
Methods   
__call__
_run
commandName
getSubcommand
interpret
  __call__ 
__call__ (
        klass,
        *__args,
        *__kw,
        )

(Meta)class method: try to return the interpreted subcommand

  _run 
_run ( self )

Interpret argv[1] and run it as a subcommand

Exceptions   
InvocationError( "missing argument(s)" )
  commandName 
commandName ( self )

Basename of the file being interpreted

  getSubcommand 
getSubcommand (
        self,
        executable,
        **kw,
        )

Same as for AbstractCommand, but with shifted argv

  interpret 
interpret ( self,  argument )

Interpret the argument and return a subcommand object

Exceptions   
NotImplementedError

Table of Contents

This document was automatically generated on Tue Feb 17 19:55:49 2004 by HappyDoc version 2.1