net.sf.farrago.parser
Class FarragoParser

java.lang.Object
  extended by net.sf.farrago.parser.FarragoAbstractParser
      extended by net.sf.farrago.parser.FarragoParser
All Implemented Interfaces:
FarragoSessionParser

public class FarragoParser
extends FarragoAbstractParser

FarragoParser is the public wrapper for the JavaCC-generated FarragoParserImpl.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/parser/FarragoParser.java#21 $
Author:
John V. Sichi

Field Summary
 
Fields inherited from class net.sf.farrago.parser.FarragoAbstractParser
ddlValidator, parserImpl, sourceString, stmtValidator
 
Constructor Summary
FarragoParser()
          Creates a new parser.
 
Method Summary
protected  FarragoAbstractParserImpl newParserImpl(Reader reader)
          Factory method to instantiate a dialect-specific generated parser.
 
Methods inherited from class net.sf.farrago.parser.FarragoAbstractParser
getCurrentPosition, getDdlValidator, getJdbcKeywords, getSourceString, getStmtValidator, getSubstring, newPositionalError, parseSqlText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FarragoParser

public FarragoParser()
Creates a new parser.

Method Detail

newParserImpl

protected FarragoAbstractParserImpl newParserImpl(Reader reader)
Description copied from class: FarragoAbstractParser
Factory method to instantiate a dialect-specific generated parser.

Specified by:
newParserImpl in class FarragoAbstractParser
Parameters:
reader - Reader that provides the input to the parser
Returns:
Dialect-specific generated parser