com.opendatagroup.hadrian.jvmcompiler
Create Java code from a PFA AST context.
Create Java code from a PFA AST context.
the context (post-semantics check data) about an abstract syntax tree node
implementation options
sometimes used when Java code can't be built from bottom-up
Java code
Helper function to format a sequence of expressions as a Java string.
Helper function to format a sequence of expressions as a Java string.
Java code for each expression.
if NONE
, return null
; if RETURN
, return the value of the last expression
return type
Table of literal values in a PFA file; used to create a table of cached literals in Java.
Helper function to chain path indexes together.
Helper function to chain path indexes together.
path indexes
Java code as a String
Helper function to write symbols as fields of a Java class.
Helper function to write symbols as fields of a Java class.
symbol names and types
Java code as a String
Most common Task for Ast
walk
; generates Java code from a PFA AST.