/** * Constructor which creates the parse tree out of the string * * @param form the formula string * @param es the external sheet handle * @param nt the name table * @param ws the workbook settings */ public FormulaParser(String form, ExternalSheet es, WorkbookMethods nt, WorkbookSettings ws) { parser = new StringFormulaParser(form, es, nt, ws, ParseContext.DEFAULT); }
/** * Parses the list of tokens * * @exception FormulaException */ public void parse() throws FormulaException { ArrayList tokens = getTokens(); Iterator i = tokens.iterator(); root = parseCurrent(i); }
handleOperand((Operand) pi, stack); handleFunction((StringFunction) pi, i, stack); ParseItem pi2 = parseCurrent(i); Parenthesis p = new Parenthesis(); pi2.setParent(p);
throws FormulaException ParseItem pi2 = parseCurrent(i);
handleOperand((Operand) pi, stack); handleFunction((StringFunction) pi, i, stack); ParseItem pi2 = parseCurrent(i); Parenthesis p = new Parenthesis(); pi2.setParent(p);
throws FormulaException ParseItem pi2 = parseCurrent(i);
/** * Parses the list of tokens * * @exception FormulaException */ public void parse() throws FormulaException { ArrayList tokens = getTokens(); Iterator i = tokens.iterator(); root = parseCurrent(i); }
/** * Constructor which creates the parse tree out of the string * * @param form the formula string * @param es the external sheet handle * @param nt the name table * @param ws the workbook settings * @param pc the context of the parse */ public FormulaParser(String form, ExternalSheet es, WorkbookMethods nt, WorkbookSettings ws, ParseContext pc) { parser = new StringFormulaParser(form, es, nt, ws, pc); }
/** * Constructor which creates the parse tree out of the string * * @param form the formula string * @param es the external sheet handle * @param nt the name table * @param ws the workbook settings */ public FormulaParser(String form, ExternalSheet es, WorkbookMethods nt, WorkbookSettings ws) { parser = new StringFormulaParser(form, es, nt, ws, ParseContext.DEFAULT); }
/** * Constructor which creates the parse tree out of the string * * @param form the formula string * @param es the external sheet handle * @param nt the name table * @param ws the workbook settings * @param pc the context of the parse */ public FormulaParser(String form, ExternalSheet es, WorkbookMethods nt, WorkbookSettings ws, ParseContext pc) { parser = new StringFormulaParser(form, es, nt, ws, pc); }