org.millscript.office.spreadsheet.formula
Class FormulaParserImpl

java.lang.Object
  extended by org.millscript.millscript.syntax.TokenizerImpl
      extended by org.millscript.millscript.syntax.ConfigurationParserImpl
          extended by org.millscript.office.spreadsheet.formula.FormulaParserImpl
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin, org.millscript.millscript.syntax.Parser, org.millscript.millscript.syntax.Tokenizer

public class FormulaParserImpl
extends org.millscript.millscript.syntax.ConfigurationParserImpl

This class implements the MillScript parser.


Field Summary
 
Fields inherited from class org.millscript.millscript.syntax.TokenizerImpl
config, interpolationMap
 
Fields inherited from interface org.millscript.millscript.syntax.Parser
ARITH_PREC, COMMA_PREC, COMMA_PREC1, LOW_PREC, NOT_PREC, RELOP_PREC, TIGHT_PREC
 
Constructor Summary
FormulaParserImpl(java.lang.String origin, java.io.Reader r, org.millscript.millscript.conf.Configuration c)
          Constructs a new ParserImpl with the specified origin, source, interactive prompt and end of line comment status.
 
Method Summary
 
Methods inherited from class org.millscript.millscript.syntax.ConfigurationParserImpl
getEnclosingClass, makeInterpolatedExpr, put, readAttributeName, readBlock, readBlockTo, readExpr, readExprComma, readExprPrec, readExprTo, readName, readOptExpr, readOptExprPrec, readOptPrimary, readPrimary, readStmnts, readStmntsTo, readSymbol, readTagName
 
Methods inherited from class org.millscript.millscript.syntax.TokenizerImpl
checkWhere, dropToken, getAttributeName, getErrorString, getInt, getLineNumber, getName, getOrigin, getQuoteChar, getString, getStringNoQuotes, getStringNoQuotes, getTagName, makePattern, markReader, mustRead, nextToken, peekRead, peekToken, resetReader, setContext, setLineNumber, setOrigin, setWhere, tryRead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.millscript.millscript.syntax.Tokenizer
checkWhere, dropToken, getAttributeName, getErrorString, getInt, getLineNumber, getName, getOrigin, getQuoteChar, getString, getStringNoQuotes, getStringNoQuotes, getTagName, makePattern, markReader, mustRead, nextToken, peekRead, peekToken, resetReader, setWhere, tryRead
 
Methods inherited from interface org.millscript.commons.alert.AlertOrigin
setContext, setLineNumber, setOrigin
 

Constructor Detail

FormulaParserImpl

public FormulaParserImpl(java.lang.String origin,
                         java.io.Reader r,
                         org.millscript.millscript.conf.Configuration c)
Constructs a new ParserImpl with the specified origin, source, interactive prompt and end of line comment status.

Parameters:
origin - the origin message for this tokenizer
r - the character source to tokenize
eolc - flag indicating if end of line comments are supported
c - the configuration


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.