Package org.formulacompiler.compiler

Contains the public compile-time API of AFC's core functional model compiler.

See:
          Description

Interface Summary
CallFrame Represents a call to a method including the argument values for all of the method's parameters.
CallFrame.Factory Constructs instances of CallFrame.
Describable Interface implemented by all self-describing classes in AFC.
NumericType Immutable class representing the type to be used by the numeric computations of generated engines.
NumericType.Factory Factory interface for ImplementationLocator.getInstance(Class).
SaveableEngine Defines the SaveableEngine.saveTo(OutputStream) method for engines returned by an engine compiler.
Validation PRIVATE INTERFACE - DO NOT USE.
Validation.Factory PRIVATE INTERFACE - DO NOT USE.
 

Class Summary
FormulaCompiler Static class defining factory methods for the various elements of the core AFC compiler.
 

Enum Summary
Function Lists all the functions supported by AFC.
Operator Lists all the expression operators supported by AFC.
 

Exception Summary
CompilerException Defines all the errors raised by the functional model compiler of AFC.
CompilerException.BrokenReference Indicates that a reference to a cell is broken.
CompilerException.ConstructorMissing You specified a factory or output class with no suitable constructor for AFC to call.
CompilerException.DataTypeError You attempted to combine incompatible types in an expression; or you attempted to use an expression which type cannot be determined.
CompilerException.DuplicateDefinition You attempted to define an element twice.
CompilerException.FactoryMethodMissing You specified a factory type with no suitable factory method.
CompilerException.MethodNotImplemented You did not bind all of the abstract methods of the output type to cells.
CompilerException.NameNotFound Indicates that a required named element was not found.
CompilerException.ParallelVectorsSpanDifferentSubSections You aggregated two parallel vectors (using COVAR, for example), but they cross different subsections, or cross them differently.
CompilerException.ReferenceToArrayNotAggregated An expression references an array (range) without aggregating it.
CompilerException.ReferenceToInnerCellNotAggregated An outer cell references an inner cell of a section without aggregating it.
CompilerException.ReferenceToOuterInnerCell A cell references another cell which is itside the first cell's section, but contained within a sibling subsection of their common parent section.
CompilerException.SectionOrientation The aggregator function you used does not support repeating sections of the given orientation.
CompilerException.UnsupportedDataType You attempted to bind a spreadsheet cell to a method with an unsupported return type, or an unsupported parameter type; or you attempted to compile a spreadsheet with an unsupported constant value in a cell referenced by the computation.
CompilerException.UnsupportedExpression You attempted to compile a spreadsheet containing an unsupported expression.
CompilerException.UnsupportedExpressionSource The formula you tried to parse contains an error or an unsupported element.
CompilerException.UnsupportedOperator You attempted to compile a spreadsheet containing an expression with an unsupported operator.
 

Package org.formulacompiler.compiler Description

Contains the public compile-time API of AFC's core functional model compiler. All of the functionality is accessed using the factory methods in FormulaCompiler. This class inherits from FormulaRuntime, which contains only the elements necessary for loading and using engines at run-time.

For overviews, tutorials, examples, guides, and tool documentation, please see: