vxml_pipeline/tables

Types

pub type ColumnStyle {
  ColumnStyle(padding_right: Int)
}

Constructors

  • ColumnStyle(padding_right: Int)
pub type TableCell {
  TableCell(content: String, fill: String)
}

Constructors

  • TableCell(content: String, fill: String)
pub type TableRow {
  Cells(List(TableCell))
  SpanningRow(content: String, fill: String)
}

Constructors

  • Cells(List(TableCell))
  • SpanningRow(content: String, fill: String)

Values

pub fn blocks(num: Int) -> String
pub fn dashes(num: Int) -> String
pub fn dots(num: Int) -> String
pub fn four_column_table(
  lines: List(
    either_or.EitherOr(#(String, String, String, String), String),
  ),
) -> List(String)
pub fn how_many(
  singular: String,
  plural: String,
  count: Int,
) -> String
pub fn name_and_param_string_lines(
  desugarer: core.Desugarer,
  step_no: Int,
  margin: Int,
) -> List(String)
pub fn our_blame_digest(blame: blame.Blame) -> String
pub fn print_lines_at_indent(
  lines: List(String),
  indent: Int,
) -> Nil
pub fn print_pipeline(desugarers: List(core.Desugarer)) -> Nil
pub fn solid_dashes(num: Int) -> String
pub fn spaces(num: Int) -> String
pub fn strip_quotes(string: String) -> String
pub fn table(
  rows: List(TableRow),
  columns: List(ColumnStyle),
) -> List(String)

Render a boxed table whose first row is its header.

pub fn three_column_table(
  lines: List(
    either_or.EitherOr(#(String, String, String), String),
  ),
) -> List(String)
pub fn threedots(num: Int) -> String
pub fn two_column_maxes(
  lines: List(#(String, String)),
) -> #(Int, Int)
pub fn two_column_table(
  lines: List(#(String, String)),
) -> List(String)
pub fn twodots(num: Int) -> String
pub fn underscores(num: Int) -> String
Search Document