Table of Contents

Module: em em.py

A system for processing Python as markup embedded in text.

Imported modules   
import getopt
import re
import string
import sys
import types
Functions   
invoke
main
usage
  invoke 
invoke ( args )

Run a standalone instance of an empy interpeter.

Exceptions   
CommandLineError, "buffered output only makes sense with -o or -a arguments."
  main 
main ()

  usage 
usage ()

Classes   
AbstractFile

An abstracted file that, when buffered, will totally buffer the

BufferedFilter

A buffered filter is one that doesn't modify the source data

CommandLineError

An error triggered by errors in the command line.

Context

An interpreter context, which encapsulates a name, an input

DiversionError

An error related to diversions.

EmpyError

The base class for all empy errors.

Filter

An abstract filter.

FilterError

An error related to filters.

FunctionFilter

A filter that works simply by pumping its input through a

HookError

An error associated with hooks.

Interpreter

An interpreter can process chunks of empy code.

LineBufferedFilter

A line-buffered filter only lets data through when it sees

MaximallyBufferedFilter

A maximally-buffered filter only lets its data through on the final

MetaError

A wrapper around a real Python exception for including a copy of

NullFilter

A filter that never sends any output to its sink.

ParseError

A parse error occurred.

ProxyFile

The proxy file object that is intended to take the place of

PseudoModule

A pseudomodule for the builtin empy routines.

Scanner

A scanner holds a buffer for lookahead parsing and has the

SizeBufferedFilter

A size-buffered filter only in fixed size chunks (excepting the

Stack

A simple stack that behave as a sequence (with 0 being the top

StackUnderflowError

A stack underflow.

Stream

A wrapper around an (output) file object which supports

StringFilter

A filter that takes a translation string (256 characters) and

TransientParseError

A parse error occurred which may be resolved by feeding more data.


Table of Contents

This document was automatically generated on Fri Oct 18 20:03:43 2002 by HappyDoc version 2.0.1