Package lyntin :: Module argparser :: Class StringChecker
[show private | hide private]
[frames | no frames]

Class StringChecker

TypeChecker --+
              |
             StringChecker


Essentiallly the same as the trivial base class, but it's explicit that we just return the string we take in without any transformation.
Method Summary
  __init__(self, typename, typeargs)
Initializes the TypeChecker.
string check(self, arg)
Returns the string we're looking at without any transformation.

Method Details

__init__(self, typename, typeargs)
(Constructor)

Initializes the TypeChecker. Over-ridden by all the TypeChecker subclasses.
Parameters:
typename - the name of the type
           (type=string)
typeargs - the arguments passed to the TypeChecker to initialize it
           (type=tuple)
Overrides:
lyntin.argparser.TypeChecker.__init__ (inherited documentation)

check(self, arg)

Returns the string we're looking at without any transformation.
Parameters:
arg - the argument to pass back
           (type=string)
Returns:
the argument
           (type=string)
Overrides:
lyntin.argparser.TypeChecker.check

Generated by Epydoc 2.1 on Mon Aug 9 09:17:42 2004 http://epydoc.sf.net