|
__init__(self,
content,
debug=False)
|
|
getData(self)
Get the data structure
|
|
getChar(self,
c,
ind)
Get the next character from a string (if there is any)
|
|
peekChar(self,
c,
ind)
|
|
isOK(self,
c,
ind)
Check whether there are still characters in the string
|
|
skipSpace(self,
c,
ind)
Skip spaces and set index to the next non-whitespace character
|
|
getName(self,
c,
ind)
Gets a name for a dictionary entry
|
|
getString(self,
c,
ind)
Get a quoted string and return it (including the quotes)
|
|
checkForList(self,
c,
ind)
Look-ahead to find out whether the next thing is a list
|
|
parseList(self,
c,
ind)
Parse a list
|
|
getValue(self,
c,
ind)
Get characters up to the next white-space
|
|
parseValue(self,
c,
ind)
Parse a value that ends withe semi-colon
|
|
printContext(self,
c,
ind)
Prints the context of the current index
|
|
parserError(self,
text,
c,
ind)
Prints the error message of the parser and exit
|
|
parseDict(self,
c,
ind)
Parse assuming a dictionary
|
|
rmComments(self,
c)
Removes the comments from a string
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|