Uses of Interface
org.clafer.frontend.Ir.Exp
Packages that use Ir.Exp
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.Exp in org.clafer.frontend
Classes in org.clafer.frontend that implement Ir.ExpModifier and TypeClassDescriptionstatic final recordAn anchor, rich:initially p, at the birth of the context, orfinally p, at its death.static final recordA chain of one binary operator:a op b op c.static final recordA function of strings,concat(a, b),prefix(a, b)orsuffix(a, b).static final recordupcast(e, T)ordowncast(e, T), as chocosolver's printer writes the casts of its analysis.static final recordconnected(nodes, relation, directed).static final record{[1, 2], [3, 4]} :: T * U, a constant set of chocosolver's printer: one row per column of the type.static final recordA decimal as written, e.g.,19.99or-0.5.static final recordA double as written, with its exponent, e.g.,1.2e2.static final recordleft.dref.static final recordif c then a else b, a formula or a set.static final recordAn integer,-3with its sign.static final recordA navigation,left.right: the right is a name (a child relation), or in chocosolver's printing a relation or a parenthesized set.static final recordA name in an expression: a clafer, all its instances or, on the right of a navigation, its relation, or a variable.static final recordnoclafer, the empty set.static final recordleft.parent.static final recordA behavioral pattern of Dwyer et al.'static final recordq decls | body.static final recordA quantifier over a set, without variables:some x,no x,lone x,one x,all x.static final recorddref(c)orparent(c), a relation of a clafer, as chocosolver's printer writes it.static final recordA string literal as written, with its quotes and escapes.static final recordA temporal operator of the core:X,F,G,previous,once,historicallyon one formula,U,W,since,triggeredbetween two.static final recordthis.static final recordA transition, rich:a --> b,a -[g]-> b,a -->> bora -[g]->> b, whose target may be a chain of transitions.static final recordA prefix operator.Methods in org.clafer.frontend that return Ir.ExpModifier and TypeMethodDescriptionIr.Unary.arg()Returns the value of theargrecord component.Ir.Cast.base()Returns the value of thebaserecord component.Ir.Anchor.body()Returns the value of thebodyrecord component.Ir.Quantified.body()Returns the value of thebodyrecord component.Ir.IfThenElse.condition()Returns the value of theconditionrecord component.Ir.Assertion.exp()Returns the value of theexprecord component.Ir.Constraint.exp()Returns the value of theexprecord component.Ir.Objective.exp()Returns the value of theexprecord component.Ir.Transition.from()Returns the value of thefromrecord component.Ir.Dref.left()Returns the value of theleftrecord component.Ir.Join.left()Returns the value of theleftrecord component.Ir.ParentOf.left()Returns the value of theleftrecord component.Ir.Connected.nodes()Returns the value of thenodesrecord component.Ir.IfThenElse.otherwise()Returns the value of theotherwiserecord component.Ir.Connected.relation()Returns the value of therelationrecord component.Ir.Join.right()Returns the value of therightrecord component.Ir.Decl.set()Returns the value of thesetrecord component.Ir.QuantifiedSet.set()Returns the value of thesetrecord component.Ir.IfThenElse.then()Returns the value of thethenrecord component.Ir.Transition.to()Returns the value of thetorecord component.Ir.Initializer.value()Returns the value of thevaluerecord component.Methods in org.clafer.frontend that return types with arguments of type Ir.ExpModifier and TypeMethodDescriptionIr.Call.args()Returns the value of theargsrecord component.Ir.Pattern.args()Returns the value of theargsrecord component.Ir.Temporal.args()Returns the value of theargsrecord component.Ir.Transition.guard()Returns the value of theguardrecord component.Ir.Binary.operands()Returns the value of theoperandsrecord component.Methods in org.clafer.frontend with parameters of type Ir.ExpConstructors in org.clafer.frontend with parameters of type Ir.ExpModifierConstructorDescriptionAnchor(SourceSpan span, boolean initially, Ir.Exp body) Creates an instance of aAnchorrecord class.Assertion(SourceSpan span, Ir.Exp exp, Optional<Ir.Origin> origin) Creates an instance of aAssertionrecord class.Cast(SourceSpan span, boolean up, Ir.Exp base, List<Ir.Name> type) Creates an instance of aCastrecord class.Connected(SourceSpan span, Ir.Exp nodes, Ir.Exp relation, boolean directed) Creates an instance of aConnectedrecord class.Constraint(SourceSpan span, Ir.Exp exp, Optional<Ir.Origin> origin) Creates an instance of aConstraintrecord class.Decl(SourceSpan span, boolean disjoint, List<Ir.Name> locals, Ir.Exp set) Creates an instance of aDeclrecord class.Dref(SourceSpan span, Ir.Exp left) Creates an instance of aDrefrecord class.IfThenElse(SourceSpan span, Ir.Exp condition, Ir.Exp then, Ir.Exp otherwise) Creates an instance of aIfThenElserecord class.Initializer(SourceSpan span, Ir.InitKind kind, Ir.Exp value) Creates an instance of aInitializerrecord class.Join(SourceSpan span, Ir.Exp left, Ir.Exp right) Creates an instance of aJoinrecord class.Objective(SourceSpan span, boolean maximize, Ir.Exp exp) Creates an instance of aObjectiverecord class.ParentOf(SourceSpan span, Ir.Exp left) Creates an instance of aParentOfrecord class.Quantified(SourceSpan span, Ir.Quantifier quantifier, List<Ir.Decl> decls, Ir.Exp body) Creates an instance of aQuantifiedrecord class.QuantifiedSet(SourceSpan span, Ir.Quantifier quantifier, Ir.Exp set) Creates an instance of aQuantifiedSetrecord class.Transition(SourceSpan span, boolean sync, Ir.Exp from, Optional<Ir.Exp> guard, Ir.Exp to) Creates an instance of aTransitionrecord class.Unary(SourceSpan span, Ir.UnaryOp op, Ir.Exp arg) Creates an instance of aUnaryrecord class.Constructor parameters in org.clafer.frontend with type arguments of type Ir.ExpModifierConstructorDescriptionBinary(SourceSpan span, Ir.BinaryOp op, List<Ir.Exp> operands) Creates an instance of aBinaryrecord class.Call(SourceSpan span, String function, List<Ir.Exp> args) Creates an instance of aCallrecord class.Pattern(SourceSpan span, Ir.PatternKind kind, Ir.PatternScope scope, List<Ir.Exp> args) Creates an instance of aPatternrecord class.Temporal(SourceSpan span, Ir.TemporalOp op, List<Ir.Exp> args) Creates an instance of aTemporalrecord class.Transition(SourceSpan span, boolean sync, Ir.Exp from, Optional<Ir.Exp> guard, Ir.Exp to) Creates an instance of aTransitionrecord class.