Table of Contents

Class: ParseStack ../HappyDoc-r2_1/happydoclib/parsecomments.py

Helper class for extractComments function in this module.

Methods   
__init__
__names
__str__
key
pop
push
  __init__ 
__init__ ( self )

Create a ParseStack.

  __names 
__names ( self )

Return a list of the names as they appear on the stack, bottom first.

  __str__ 
__str__ ( self )

Create a string representation.

  key 
key ( self )

Return a value to be used as a dictionary key.

  pop 
pop ( self )

Remove the top of the stack and return it.

  push 
push (
        self,
        name,
        indent,
        )

Push a new name onto the stack.

Smartly determine, based on indent, whether to pop other names before pushing this one.


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:23 2002 by HappyDoc version 2.1