Spreadsheet Toolkit

corpus.excel.parser
Class FunctionParser

java.lang.Object
  |
  +--corpus.excel.parser.FormulaComponentParser
        |
        +--corpus.excel.parser.FunctionParser

public class FunctionParser
extends FormulaComponentParser

A parser for a formula component.

See Also:
Function

Field Summary
static java.lang.String P_DATABASE
           
static java.lang.String P_DATEANDTIME
           
static java.lang.String P_ENGINEERING
           
static java.lang.String P_FINANCIAL
           
static java.lang.String P_INFORMATION
           
static java.lang.String P_LOGICAL
           
static java.lang.String P_LOOKUPANDREFERENCE
          Pattern is used for matching in regular expressions
static java.lang.String P_MATHANDTRIG
           
static java.lang.String P_STATISTICAL
           
static java.lang.String P_TEXT
           
static java.lang.String PATTERN
           
 
Constructor Summary
FunctionParser()
           
 
Method Summary
 FormulaComponent parseOne(java.lang.String input, Formula formula)
          Given a string containing a Excel formula, break it down into components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_LOOKUPANDREFERENCE

public static final java.lang.String P_LOOKUPANDREFERENCE
Pattern is used for matching in regular expressions

See Also:
Constant Field Values

P_INFORMATION

public static final java.lang.String P_INFORMATION
See Also:
Constant Field Values

P_FINANCIAL

public static final java.lang.String P_FINANCIAL
See Also:
Constant Field Values

P_ENGINEERING

public static final java.lang.String P_ENGINEERING
See Also:
Constant Field Values

P_DATEANDTIME

public static final java.lang.String P_DATEANDTIME
See Also:
Constant Field Values

P_DATABASE

public static final java.lang.String P_DATABASE
See Also:
Constant Field Values

P_MATHANDTRIG

public static final java.lang.String P_MATHANDTRIG
See Also:
Constant Field Values

P_STATISTICAL

public static final java.lang.String P_STATISTICAL
See Also:
Constant Field Values

P_TEXT

public static final java.lang.String P_TEXT
See Also:
Constant Field Values

P_LOGICAL

public static final java.lang.String P_LOGICAL
See Also:
Constant Field Values

PATTERN

public static final java.lang.String PATTERN
See Also:
Constant Field Values
Constructor Detail

FunctionParser

public FunctionParser()
Method Detail

parseOne

public FormulaComponent parseOne(java.lang.String input,
                                 Formula formula)
Given a string containing a Excel formula, break it down into components.

Specified by:
parseOne in class FormulaComponentParser
Returns:
A FormulaComponent

Spreadsheet Toolkit

Project Home Page