pandoc-lua-marshal-0.1.0: Use pandoc types in Lua
Copyright© 2021 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Lua.Marshal.TableParts

Description

Marshaling/unmarshaling functions of types that are used exclusively with tables.

Synopsis

Documentation

peekCaption :: LuaError e => Peeker e Caption Source #

Peek Caption element

pushCaption :: LuaError e => Caption -> LuaE e () Source #

Push Caption element

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.

peekRow :: LuaError e => Peeker e Row Source #

Push a table row from a pair of attr and the list of cells.

pushRow :: LuaError e => Pusher e Row Source #

Push a table row as a pair of attr and the list of cells.

peekTableBody :: LuaError e => Peeker e TableBody Source #

Retrieves a TableBody value from a Lua table with fields attr, row_head_columns, head, and body.

pushTableBody :: LuaError e => Pusher e TableBody Source #

Pushes a TableBody value as a Lua table with fields attr, row_head_columns, head, and body.

peekTableFoot :: LuaError e => Peeker e TableFoot Source #

Retrieves a TableFoot value from a pair containing an Attr value and a list of table rows.

pushTableFoot :: LuaError e => Pusher e TableFoot Source #

Pushes a TableFoot value as a pair of the Attr value and the list of table rows.

peekTableHead :: LuaError e => Peeker e TableHead Source #

Peek a table head value from a pair of Attr and rows.

pushTableHead :: LuaError e => Pusher e TableHead Source #

Push a table head value as the pair of its Attr and rows.