Interface RuleInvocation
- All Known Implementing Classes:
ARuleInvocation
public interface RuleInvocation
An invocation of some relation; typically found in
Rule.rhs()-
Method Summary
Modifier and Type Method Description List<org.antlr.v4.runtime.tree.ParseTree>args()The arguments of the relation being invokedintarity()The arity of the relation being invokedbooleanisInvocationOf(Relation r)Implementation-defined.booleanisInvocationOf(String name, int arity)Implementation-defined.Stringname()The name of the relation being invoked
-
Method Details
-
name
String name()The name of the relation being invoked -
args
List<org.antlr.v4.runtime.tree.ParseTree> args()The arguments of the relation being invoked -
arity
int arity()The arity of the relation being invokedShould be equivalent to
args().size() -
isInvocationOf
Implementation-defined.The default implementation is true iff the names and arity are equivalent.
-
isInvocationOf
Implementation-defined.The default implementation is true iff the names and arity are equivalent.
-