Expand description
Functions for the LCNF IR serialization module.
Constants§
- CURRENT_
VERSION - The version number embedded into every freshly serialized snapshot.
Functions§
- deserialize_
ir - Deserialize the text
datathat was produced informat. - diff_
modules - Compute the diff between two module snapshots.
- ir_
from_ json - Deserialize a JSON-encoded IR snapshot produced by
ir_to_json. - ir_
from_ text - Deserialize the text format produced by
ir_to_text. - ir_
to_ json - Serialize
moduleto a JSON string (always pretty-printed). - ir_
to_ text - Serialize
moduleto a human-readable text format. - merge_
modules - Merge two modules into one. Returns an error if any declaration name
appears in both
aandb. - serialize_
decl - Serialize a single declaration according to
cfg. - serialize_
ir - Serialize
moduleto a string using the format specified incfg.