Uses of Interface
org.clafer.frontend.Ir.Element
Packages that use Ir.Element
Package
Description
This package provides the Java frontend of Clafer: a port of the Clafer
compiler that reads
.cfr models without the Haskell compiler.-
Uses of Ir.Element in org.clafer.frontend
Classes in org.clafer.frontend that implement Ir.ElementModifier and TypeClassDescriptionstatic final recordA clafer:[abstract] [modifiers] gcard name [: super] [-> | ->> target] card [initializer] { elements }.static final recordA constraint,[ exp ].static final recordAn enumeration, rich:enum E = a | b, at the top level.static final recordConstraints directly under the root,root { [ exp ] }, as chocosolver'sAstPrinterprints a model of its Java API that has them; Clafer has none.Methods in org.clafer.frontend that return types with arguments of type Ir.ElementModifier and TypeMethodDescriptionIr.ClaferDecl.elements()Returns the value of theelementsrecord component.Ir.Model.elements()Returns the value of theelementsrecord component.Constructor parameters in org.clafer.frontend with type arguments of type Ir.ElementModifierConstructorDescriptionModel(SourceSpan span, Ir.Options options, List<Ir.Element> elements, List<Ir.Objective> objectives, List<Ir.Assertion> assertions) Creates an instance of aModelrecord class.