| Copyright | © 2021-2026 Albert Krewinkel |
|---|---|
| License | MIT |
| Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Pandoc.Lua.Marshal.TableParts
Contents
Description
Marshaling/unmarshaling functions of types that are used exclusively with tables.
Synopsis
- peekColSpec :: LuaError e => Peeker e ColSpec
- pushColSpec :: LuaError e => Pusher e ColSpec
- peekRow :: LuaError e => Peeker e Row
- peekRowFuzzy :: LuaError e => Peeker e Row
- pushRow :: LuaError e => Row -> LuaE e ()
- peekTableBody :: LuaError e => Peeker e TableBody
- peekTableBodyFuzzy :: LuaError e => Peeker e TableBody
- pushTableBody :: LuaError e => TableBody -> LuaE e ()
- peekTableFoot :: LuaError e => Peeker e TableFoot
- pushTableFoot :: LuaError e => TableFoot -> LuaE e ()
- peekTableHead :: LuaError e => Peeker e TableHead
- pushTableHead :: LuaError e => TableHead -> LuaE e ()
- mkRow :: LuaError e => DocumentedFunction e
- mkTableBody :: LuaError e => DocumentedFunction e
- mkTableFoot :: LuaError e => DocumentedFunction e
- mkTableHead :: LuaError e => DocumentedFunction e
Documentation
peekColSpec :: LuaError e => Peeker e ColSpec Source #
Peek a ColSpec value as a pair of Alignment and ColWidth.
pushColSpec :: LuaError e => Pusher e ColSpec Source #
Push a ColSpec value as a pair of Alignment and ColWidth.
peekRowFuzzy :: LuaError e => Peeker e Row Source #
Retrieves a Cell from the stack, accepting either a 'pandoc Cell'
userdata object or a table with fields attr, alignment, row_span,
col_span, and contents.
pushRow :: LuaError e => Row -> LuaE e () Source #
Push a table Row as a table with fields attr, alignment,
row_span, col_span, and contents.
peekTableBody :: LuaError e => Peeker e TableBody Source #
Retrieves a TableBody from the stack.
peekTableBodyFuzzy :: LuaError e => Peeker e TableBody Source #
Retrieves a TableBody from the stack, accepting either a
'pandoc TableBody' userdata object or a table with fields attr,
body, head, row_head_columns.
pushTableBody :: LuaError e => TableBody -> LuaE e () Source #
Push a TableBody as a userdata value.
peekTableFoot :: LuaError e => Peeker e TableFoot Source #
Retrieves a TableFoot from the stack.
pushTableFoot :: LuaError e => TableFoot -> LuaE e () Source #
Push a TableFoot as a userdata value.
peekTableHead :: LuaError e => Peeker e TableHead Source #
Retrieves a TableHead from the stack.
pushTableHead :: LuaError e => TableHead -> LuaE e () Source #
Push a TableHead as a userdata value.
Constructors
mkTableBody :: LuaError e => DocumentedFunction e Source #
Constructor function for TableBody values.
mkTableFoot :: LuaError e => DocumentedFunction e Source #
Constructor function for TableFoot values.
mkTableHead :: LuaError e => DocumentedFunction e Source #
Constructor function for TableHead values.