Uses of Interface
edu.unc.cs.comp524.parsers.prolog.Relation
| Package | Description |
|---|---|
| edu.unc.cs.comp524.parsers.prolog |
Package holding prolog-parser code built for Comp 524 taught at the
University of North Carolina Chapel Hill
|
-
Uses of Relation in edu.unc.cs.comp524.parsers.prolog
Subinterfaces of Relation in edu.unc.cs.comp524.parsers.prolog Modifier and Type Interface Description interfaceFactThe simplest kind ofRelation: a fact.interfaceRuleA more complicatedRelationthat has sub-rules (RuleInvocations) on the right-hand-side (Rule.rhs()).Classes in edu.unc.cs.comp524.parsers.prolog that implement Relation Modifier and Type Class Description classAFactThe default concreteFactimplementation.classARelationAbstract super-class that handles most of theRelationdetails.classARuleThe default concreteRuleimplementation.Methods in edu.unc.cs.comp524.parsers.prolog that return types with arguments of type Relation Modifier and Type Method Description Map<String,List<Relation>>AProgram. clauses()Map<String,List<Relation>>Program. clauses()The program's clauses.default Stream<Relation>Program. relations()All theRelations in the programdefault List<Relation>Program. relationsWithComments()AllRelations that have comments.Methods in edu.unc.cs.comp524.parsers.prolog with parameters of type Relation Modifier and Type Method Description booleanARuleInvocation. isInvocationOf(Relation r)booleanRuleInvocation. isInvocationOf(Relation r)Implementation-defined.Method parameters in edu.unc.cs.comp524.parsers.prolog with type arguments of type Relation Modifier and Type Method Description static Stream<RuleInvocation>Program. invocations(Stream<Relation> relations)static Stream<Rule>Program. rules(Stream<Relation> relations)