parsers/toml/model

Types

pub type ExtendedFloat {
  FloatNumeric(Float)
  Inf(Positiveness)
  NaN(Positiveness)
}

Constructors

  • FloatNumeric(Float)
  • Inf(Positiveness)
  • NaN(Positiveness)
pub type Node {
  VTable(Table)
  VTArray(List(Table))
  VString(String)
  VInteger(Int)
  VFloat(ExtendedFloat)
  VBoolean(Bool)
  VDatetime(rfc_3339.RFC3339)
  VArray(List(Node))
}

Constructors

  • VTable(Table)
  • VTArray(List(Table))
  • VString(String)
  • VInteger(Int)
  • VFloat(ExtendedFloat)
  • VBoolean(Bool)
  • VDatetime(rfc_3339.RFC3339)
  • VArray(List(Node))
pub type Positiveness {
  VNone
  VPositive
  VNegative
}

Constructors

  • VNone
  • VPositive
  • VNegative
pub type Table =
  List(TableRow)
pub type TableRow =
  #(String, Node)

Functions

pub fn positiveness_to_string(p: Positiveness) -> String
Search Document