BlockType

Contains information about block types.

Methods

__init__(self, name, tag, terminator)

   def __init__(self, name, tag, terminator):

Constructs a block type given the following parameters:

name

Name of the type

tag

Regular expression used to indicate the start of the block.

terminator

Regular expression used to terminate the block.

getName(self, pattern)

   def getName(self, pattern):

getTerminator(self, pattern)

   def getTerminator(self, pattern):