Package com.semedy.reasoner.api.parser
Class SyntaxChecker
java.lang.Object
com.semedy.reasoner.api.parser.SyntaxChecker
separate syntax checker for facts and rules
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSyntax(InputStream input) check the syntax of rules, queries and facts in input streamvoidcheckSyntax(Reader input) check the syntax of rules, queries and facts in input readervoidcheckSyntax(StringReader input) check the syntax of rules, queries and facts in string readervoidcheckSyntax(String input) check the syntax of rules, queries and facts in input string
-
Constructor Details
-
SyntaxChecker
public SyntaxChecker()
-
-
Method Details
-
checkSyntax
check the syntax of rules, queries and facts in input stream- Parameters:
input- , input stream- Throws:
IOExceptionSimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in string reader- Parameters:
input- , string reader- Throws:
IOExceptionSimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in input reader- Parameters:
input- , input reader- Throws:
IOExceptionSimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in input string- Parameters:
input- , input string- Throws:
SimpleParseException
-