Most common Task for Ast walk
; generates Java code from a PFA AST.
TaskResult for JVMCompiler, which represents Java code.
Interface for a method
= emit Hadrian scoring engine (one that returns zero or more outputs for each input).
Interface for a Hadrian scoring engine.
Abstract class for interface PFAEngine; defines some functions in the Hadrian JAR so they don't have to be defined in auto-generated Java.
Interface for a method
= fold Hadrian scoring engine (one that accumulates a tally).
Interface for a method
= map Hadrian scoring engine (one that returns one output for each input).
Collection of functions for prefixing names in Java, to avoid name conflicts.
Companion object for Hadrian scoring engines: defines "static" methods.
Collection of utility functions to make Java code or be called by Java for routine tasks.
Version of the PFA language that this Hadrian JAR attempts to use by default.
Express a AvroType as Java code that constructs the corresponding org.apache.avro.Schema
inline.
Express a AvroType as Java code that constructs the corresponding org.apache.avro.Schema
inline.
the type to express as Java code that builds an Avro library Schema
if true
, actually build named types; if false
, merely qutoe their names
Express a AvroType as its corresponding Java type.
Express a AvroType as its corresponding Java type.
the type to express as a Java code string
if true
, use boxed primitives; if false
, use raw primitives
if true
, fully qualify the name; if false
, do not
if true
, use a generic (abstract superclass) name; if false
, use the most specific name
Wraps debugging Java code with line numbers for readability.
Wraps debugging Java code with line numbers for readability.
source code string for a Java in-memory file that needs line numbers for readability
Create Java code to create a locator mark, pointing to the line number in the original source code.
Create Java code to create a locator mark, pointing to the line number in the original source code.
optional position
Java code to call "scala.Option.apply(string)"
to make Some(string)
or "scala.Option.apply(null)"
to make a None