csheets.core.formula.compiler
Interface ExpressionCompiler

All Known Implementing Classes:
ExcelExpressionCompiler

public interface ExpressionCompiler

A compiler that generates expressions from strings.

Author:
Einar Pehrson

Method Summary
 Expression compile(Cell cell, String source)
          Compiles an expression from the given string.
 char getStarter()
           
 

Method Detail

compile

Expression compile(Cell cell,
                   String source)
                   throws FormulaCompilationException
Compiles an expression from the given string.

Parameters:
cell - the cell for which the expression is to be compiled
source - a string representing the expression to be compiled
Returns:
the compiled expression
Throws:
FormulaCompilationException - if the expression could not be compiled

getStarter

char getStarter()
Returns:
the