-module(yamleam@node). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]). -define(FILEPATH, "src/yamleam/node.gleam"). -export_type([yaml_node/0]). -if(?OTP_RELEASE >= 27). -define(MODULEDOC(Str), -moduledoc(Str)). -define(DOC(Str), -doc(Str)). -else. -define(MODULEDOC(Str), -compile([])). -define(DOC(Str), -compile([])). -endif. ?MODULEDOC( " The typed YAML node tree.\n" "\n" " `YamlNode` is the output of `yamleam.parse_raw`. It's also the\n" " input to the decoder layer. Pattern-match on it directly if you\n" " want raw access to the tree.\n" ). -type yaml_node() :: yaml_null | {yaml_bool, boolean()} | {yaml_int, integer()} | {yaml_float, float()} | {yaml_string, binary()} | {yaml_list, list(yaml_node())} | {yaml_map, list({binary(), yaml_node()})}.