Expand description
Output parsed database to other formats. Output parsed document.
Structs§
Enums§
Functions§
- encode_
ast_ json_ output - Encode an AST JSON string into bytes using the requested output encoding.
- export_
pan_ procedures - Export all procedures from a PAN file into individual files within a folder.
- pan_
file_ to_ ast_ stdout - Read a PAN file from disk and return AST JSON bytes for stdout.
- pan_
file_ to_ ast_ with_ encoding_ stdout - Read a PAN file from disk and return AST JSON bytes for stdout.
- pan_
file_ to_ csv_ stdout - Read a PAN file from disk and return CSV bytes for stdout-style output.
- pan_
file_ to_ csv_ with_ options_ stdout - pan_
file_ to_ macro_ stdout - Read a PAN file from disk and return macro procedure code bytes for stdout.
- pan_
file_ to_ macro_ with_ encoding_ stdout - Read a PAN file from disk and return macro procedure code bytes for stdout.
- pan_
file_ to_ parse_ json_ stdout - pan_
to_ ast - Extract and parse a macro/procedure into an AST JSON string.
- pan_
to_ ast_ with_ encoding - Extract and parse a macro/procedure into an AST JSON string.
- pan_
to_ csv - pan_
to_ csv_ with_ options - pan_
to_ macro - Extract the source code of a specified macro by name.
- pan_
to_ macro_ with_ encoding - Extract the source code of a specified macro by name using the requested encoding.
- pan_
to_ parse_ json - Convert a PAN file to JSON string. Mainly for testing and debugging purposes; don’t expect this to be a stable output format.
- panmacro_
to_ ast_ json - Parse a macro procedure into AST JSON string.
If
macro_nameis Some,input_bytesis treated as a PAN database file. Ifmacro_nameis None,input_bytesis treated directly as macro procedure code.