Class ParsedRule
java.lang.Object
net.ontopia.topicmaps.query.parser.ParsedRule
INTERNAL: Represents a parsed rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(Variable var) voidclose()Some checks can only be performed when we know that we have parsed the entire rule.booleangetName()voidinit(TologOptions options) booleanvoidsetClauseList(List clauses)
-
Constructor Details
-
ParsedRule
-
-
Method Details
-
init
-
initialized
public boolean initialized() -
getName
-
getClauses
-
getParameters
-
setClauseList
-
addParameter
-
getVariableTypes
-
getParameterTypes
-
getOptions
-
close
Some checks can only be performed when we know that we have parsed the entire rule. Therefore close() is called once parsing of the rule has ended. It verifies that all parameters to the rule are actually used in the rule (no free variables), and runs type inferencing on the rule.- Throws:
InvalidQueryException
-
equals
-