pandoc-lua-marshal-0.1.3: Use pandoc types in Lua
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Lua.Marshal.Inline

Description

Marshal values of types that make up Inline elements.

Synopsis

Single Inline elements

peekInline :: LuaError e => Peeker e Inline Source #

Retrieves an Inline value.

peekInlineFuzzy :: LuaError e => Peeker e Inline Source #

Try extra hard to retrieve an Inline value from the stack. Treats bare strings as Str values.

pushInline :: LuaError e => Pusher e Inline Source #

Pushes an Inline value as userdata object.

List of Inlines

peekInlines :: LuaError e => Peeker e [Inline] Source #

Retrieves a list of Inline values.

peekInlinesFuzzy :: LuaError e => Peeker e [Inline] Source #

Try extra-hard to return the value at the given index as a list of inlines.

pushInlines :: LuaError e => Pusher e [Inline] Source #

Pushes a list of Inline values.

Constructors

inlineConstructors :: LuaError e => [DocumentedFunction e] Source #

Constructor functions for Inline elements.

mkInlines :: LuaError e => DocumentedFunction e Source #

Constructor for a list of Inline values.

Walking

walkInlineSplicing :: (LuaError e, Walkable (SpliceList Inline) a) => Filter -> a -> LuaE e a Source #

Walks an element of type a and applies the filter to all Inline elements. The filter result is spliced back into the list.

walkInlinesStraight :: (LuaError e, Walkable [Inline] a) => Filter -> a -> LuaE e a Source #

Walks an element of type a and applies the filter to all lists of Inline elements.