Learn R Programming

pandocfilters (version 0.1-6)

astrapply: Apply a Function on a AST

Description

Apply the function FUN on the abstract syntax tree (AST) obtained from pandoc.

Usage

astrapply(x, FUN, ...)

Value

A list containing the modified AST.

Arguments

x

a list representing the AST obtained from pandoc.

FUN

the function to be applied to the AST.

...

optional arguments to FUN.