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

Copyright | © 2021-2026 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 Source #

Retrieves a `Cell` object from the stack.

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`.

typeRow :: LuaError e => DocumentedType e Row Source #

Row object type.

mkRow :: LuaError e => DocumentedFunction e Source #

Constructor function for `Row` values.