pandoc-lua-marshal-0.3.0: Use pandoc types in Lua

Copyright | © 2021-2024 Albert Krewinkel
License | MIT
Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Lua.Marshal.Row

Description

Marshaling/unmarshaling functions of `Row` values.

Synopsis

- peekRow :: LuaError e => Peeker e Row
- peekRowFuzzy :: LuaError e => Peeker e Row
- pushRow :: LuaError e => Row -> LuaE e ()
- typeRow :: LuaError e => DocumentedType e Row
- mkRow :: LuaError e => DocumentedFunction e

# Documentation

peekRow :: LuaError e => Peeker e Row #

Retrieves a `Cell` object from the stack.

peekRowFuzzy :: LuaError e => Peeker e Row #

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 () #

Push a table Row as a table with fields `attr`, `alignment`, `row_span`, `col_span`, and `contents`.

typeRow :: LuaError e => DocumentedType e Row #

Row object type.

mkRow :: LuaError e => DocumentedFunction e #

Constructor function for `Row` values.