module documentation

Read NDB files: NWScript compiled debug information.

The NDB format is used to store debugging information for compiled scripts, such as variable and function names, line numbers, and structure definitions.

Class Function Undocumented
Class Line Undocumented
Class Ndb Undocumented
Class ScalarType Undocumented
Class Struct Undocumented
Class StructRef Undocumented
Class Variable Undocumented
Function read Reads the given file object containing NDB data and returns an Ndb object.
Function _parse_type Undocumented
def read(file: TextIO) -> Ndb: (source)

Reads the given file object containing NDB data and returns an Ndb object.

Parameters
file:TextIOA text mode file containing the NDB data to be parsed.
Returns
NdbThe parsed Ndb object.
Raises
ValueErrorIf parsing fails.
def _parse_type(s): (source)

Undocumented