java.lang.Object
java.lang.Record
org.aya.core.term.FormulaTerm
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
org.aya.guest0x0.cubical.Restr.TermLike.Factory<T>Nested classes/interfaces inherited from interface org.aya.core.term.Term
Term.Matching, Term.Param -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull FormulaTermstatic final @NotNull FormulaTerm -
Constructor Summary
ConstructorsConstructorDescriptionFormulaTerm(@NotNull org.aya.guest0x0.cubical.Formula<Term> asFormula) Creates an instance of aFormulaTermrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FormulaTerm@NotNull org.aya.guest0x0.cubical.Formula<Term>Returns the value of theasFormularecord component.static @NotNull FormulaTermfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static @NotNull FormulaTermstatic @NotNull FormulaTerm@NotNull Termsimpl()final StringtoString()Returns a string representation of this record class.@NotNull kala.collection.SeqView<Term>view()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.core.term.Term
computeSort, computeType, descent, findUsages, freezeHoles, lift, normalize, rename, scopeCheck, subst, subst, subst, subst, toDoc
-
Field Details
-
LEFT
-
RIGHT
-
-
Constructor Details
-
FormulaTerm
Creates an instance of aFormulaTermrecord class.- Parameters:
asFormula- the value for theasFormularecord component
-
-
Method Details
-
inv
-
and
@NotNull public static @NotNull FormulaTerm and(@NotNull @NotNull Term lhs, @NotNull @NotNull Term rhs) -
or
@NotNull public static @NotNull FormulaTerm or(@NotNull @NotNull Term lhs, @NotNull @NotNull Term rhs) -
conn
@NotNull public static @NotNull FormulaTerm conn(boolean isAnd, @NotNull @NotNull Term lhs, @NotNull @NotNull Term rhs) -
simpl
-
view
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
asFormula
Returns the value of theasFormularecord component.- Specified by:
asFormulain interfaceorg.aya.guest0x0.cubical.Restr.TermLike<Term>- Returns:
- the value of the
asFormularecord component
-