fr.umlv.tatoo.cc.ebnf
Class EBNFParserImpl

java.lang.Object
  extended by fr.umlv.tatoo.cc.main.main.EBNFParser
      extended by fr.umlv.tatoo.cc.ebnf.EBNFParserImpl

public class EBNFParserImpl
extends EBNFParser


Constructor Summary
EBNFParserImpl(RuleFactory ruleFactory, Encoding encoding, GrammarFactory grammarFactory, ToolsFactory toolsFactory)
           
 
Method Summary
 ParserTableBuilder parse(File source)
          Parse an EBNF file.
 ParserTableBuilder parse(Reader reader)
          Parse an EBNF file.
 
Methods inherited from class fr.umlv.tatoo.cc.main.main.EBNFParser
createEBNFParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EBNFParserImpl

public EBNFParserImpl(RuleFactory ruleFactory,
                      Encoding encoding,
                      GrammarFactory grammarFactory,
                      ToolsFactory toolsFactory)
Method Detail

parse

public ParserTableBuilder parse(File source)
                         throws FileNotFoundException
Description copied from class: EBNFParser
Parse an EBNF file.

Specified by:
parse in class EBNFParser
Parameters:
source - the EBNF file.
Returns:
an object that implements ParserTableBuilder interface.
Throws:
FileNotFoundException

parse

public ParserTableBuilder parse(Reader reader)
Description copied from class: EBNFParser
Parse an EBNF file.

Specified by:
parse in class EBNFParser
Parameters:
reader - the EBNF file reader.
Returns:
an object that implements ParserTableBuilder interface.