Home | Trees | Indices | Help |
|
---|
|
Module for the parsing on input data from .tia file.
|
|||
|
|||
|
|
Extract the initializer dictionary from a line. st: object tag, 'bm', 'th', ... [string] line: line of data in .tia format (supposed no spaces nor tabs nor comments) and without the obect tag. [string] fileName: name of file (used to write errors). [string] lineNumber: number fo this line in the file (used to write errors). [int] May raise an InputError Returns a dictionary ready for construction. |
Finds the input data in a file. Returns a list of tuples where tuple[0] identifies the object of which data has been found and tuple[1] the data itself. tuple[1] may be a simple value or a dictionary for constructors, etc. Example return value: [ ('bd', {'X': 0., 'Y': 0., 'Z': 1.}), #constructor ('LName', 'foo')] #string data. name: file to read. [string] May raise an InputError. Returns a list of tuples. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 24 10:17:20 2017 | http://epydoc.sourceforge.net |