Package org.smtlib
Interface IParser.IFactory
- All Known Implementing Classes:
Factory
- Enclosing interface:
IParser
public static interface IParser.IFactory
The interface for the parser/printer factory
-
Method Summary
Modifier and TypeMethodDescriptioncreateParser(SMT.Configuration smtConfig, ISource source) Creates a parser that reads and parses concrete syntax from the given sourcecreatePrinter(SMT.Configuration smtConfig, Writer w) Creates a printercreateSource(CharSequence cs, String filepath) Creates a character source from the given CharSequence; the second argument is just to be used as a location designator.createSource(SMT.Configuration smtConfig, File file) Creates a character source from the given filecreateSource(SMT.Configuration smtConfig, InputStream file, Object location) Creates a character source from the given stream
-
Method Details
-
createParser
Creates a parser that reads and parses concrete syntax from the given source -
createSource
Creates a character source from the given CharSequence; the second argument is just to be used as a location designator. -
createSource
Creates a character source from the given file- Throws:
FileNotFoundException
-
createSource
Creates a character source from the given stream -
createPrinter
Creates a printer
-