se.chalmers.cs.gf.parse.chart
Class CFGParsers

java.lang.Object
  extended by se.chalmers.cs.gf.parse.Parsers
      extended by se.chalmers.cs.gf.parse.chart.CFGParsers

public class CFGParsers
extends Parsers

A collection of chart parsers for a collection of CF grammars.


Field Summary
 
Fields inherited from class se.chalmers.cs.gf.parse.Parsers
map
 
Constructor Summary
CFGParsers(CFGGrammars grammars, Lexers lexers, boolean robust)
           
 
Method Summary
static CFGParsers readParsers(java.io.Reader in, Lexers lexers, boolean robust)
           
static CFGParsers readParsers(java.lang.String file, Lexers lexers, boolean robust)
           
 
Methods inherited from class se.chalmers.cs.gf.parse.Parsers
addParser, getParser, listParsers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFGParsers

public CFGParsers(CFGGrammars grammars,
                  Lexers lexers,
                  boolean robust)
Method Detail

readParsers

public static CFGParsers readParsers(java.io.Reader in,
                                     Lexers lexers,
                                     boolean robust)
                              throws java.io.IOException
Throws:
java.io.IOException

readParsers

public static CFGParsers readParsers(java.lang.String file,
                                     Lexers lexers,
                                     boolean robust)
                              throws java.io.IOException
Throws:
java.io.IOException