Convert this abstract syntax tree into a Jackson node
Convert this abstract syntax tree into a Jackson node
if true
, include locator marks at the beginning of each JSON object
used to avoid recursion; provide an empty set if unsure
Jackson representation of the JSON
Position in the original source code where this AST element resides (if any).
Walk over tree applying a Task while checking for semantic errors.
Walk over tree applying a Task while checking for semantic errors.
This is how Java is generated from an abstract syntax tree: the Task in that case is JVMCompiler.
generic task to perform on this abstract syntax tree node's context
used to look up symbols, cells, and pools
used to look up functions
implementation options
version of the PFA language in which to interpret this PFA
(information about this abstract syntax tree node after type-checking, result of the generic task)
Walk over tree applying a partial function, returning a list of results in its domain.
Walk over tree applying a partial function, returning a list of results in its domain.
partial function that takes any Ast as an argument, returning anything
a result for each abstract syntax tree node in the pf
function's domain
Walk over tree applying a partial function, returning a transformed copy of the tree.
Serialize this abstract syntax tree as a JSON string.
Serialize this abstract syntax tree as a JSON string.
if true
, include locator marks at the beginning of each JSON object
JSON string
Calls toJson(false)
.
Calls toJson(false)
.
Walk with a blank symbolTable
, a blank functionTable
, and empty engineOptions
Abstract base class for a PFA abstract syntax tree.