Home | Trees | Index | Help |
---|
Package PyFoam :: Package RunDictionary :: Module ParsedParameterFile :: Class FoamFileParser |
|
Method Summary | |
---|---|
__init__(self,
content)
| |
Look-ahead to find out whether the next thing is a list | |
Get the next character from a string (if there is any) | |
Get the data structure | |
Gets a name for a dictionary entry | |
Get a quoted string and return it (including the quotes) | |
Get characters up to the next white-space | |
Check whether there are still characters in the string | |
Parse assuming a dictionary | |
Parse a list | |
Parse a value that ends withe semi-colon | |
peekChar(self,
c,
ind)
| |
Removes the comments from a string | |
Skip spaces and set index to the next non-whitespace character |
Method Details |
---|
checkForList(self, c, ind)Look-ahead to find out whether the next thing is a list |
getChar(self, c, ind)Get the next character from a string (if there is any)
|
getData(self)Get the data structure |
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) |
getValue(self, c, ind)Get characters up to the next white-space |
isOK(self, c, ind)Check whether there are still characters in the string |
parseDict(self, c, ind)Parse assuming a dictionary
|
parseList(self, c, ind)Parse a list |
parseValue(self, c, ind)Parse a value that ends withe semi-colon |
rmComments(self, c)Removes the comments from a string |
skipSpace(self, c, ind)Skip spaces and set index to the next non-whitespace character
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Apr 5 18:32:44 2006 | http://epydoc.sf.net |