Uses of Interface
org.clafer.frontend.Syntax.Node
Packages that use Syntax.Node
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 Syntax.Node in org.clafer.frontend
Subinterfaces of Syntax.Node in org.clafer.frontendModifier and TypeInterfaceDescriptionstatic interfaceA cardinality:?,+,*, a number or an interval.static interfaceA declaration at the top level.static interfaceAn element: a clafer, a use of a clafer, a constraint, an objective or an assertion.static interfaceAn expression.static interfaceA group cardinality: a keyword or an interval.Classes in org.clafer.frontend that implement Syntax.NodeModifier and TypeClassDescriptionstatic final recordinitially eorfinally e.static final recordAn assertion,assert [ e ].static final recordA binary expression.static final recordA cardinality written as a number,2.static final recordA cardinality written as?,+or*.static final recordA clafer, e.g.,abstract xor A : B -> int ? = 3 { ... }.static final recordA name in an expression.static final recordThe transition of a clafer,--> e.static final recordA use of a clafer,`A ? { ... }.static final recordA constraint,[ e1 e2 ]: the conjunction of its expressions.static final recordThe declaration of a quantifier,x; y : e.static final recordThe elements of a clafer, in braces or indented.static final recordAn enumeration,enum E = a | b.static final recordAn objective,<< minimize e >>.static final recordA group cardinality written as a keyword:xor,or,muxoropt.static final recordA name as written, e.g., a clafer's name or a local variable.static final recordif c then t else e.static final recordAn initializer,= eor:= e.static final recordlet x = v in body.static final recordA literal: an integer, a double, a real or a string, as written.static final recordA model: its declarations in the order they were written.static final recordA path of names,a\b.static final recordAn interval,2..3or2..*, of a cardinality or of a group cardinality.static final recordA behavioral pattern, e.g.,never e after s, ora must precede b.static final recordThe scope of a pattern:before e,after e,between e and e,after e until e.static final recordA quantified expression without a declaration,some e.static final recordA quantified expression with a declaration,some disj x : e | body.static final recordA reference,-> eto a set or->> eto a bag.static final recordThe super clafer,: e.static final recordA temporal modifier of a clafer.static final recordA transition arrow:-->,-->>(synchronous), or with a guard,-[ g ]->and-[ g ]->>.static final recordA transition,e1 --> e2.static final recordA prefix expression.Methods in org.clafer.frontend that return Syntax.NodeMethods in org.clafer.frontend that return types with arguments of type Syntax.NodeModifier and TypeMethodDescriptionSymbols.Result.byDeclaration()Returns the value of thebyDeclarationrecord component.Methods in org.clafer.frontend with parameters of type Syntax.NodeConstructor parameters in org.clafer.frontend with type arguments of type Syntax.NodeModifierConstructorDescriptionResult(List<Symbols.ClaferSymbol> topLevel, List<Symbols.ClaferSymbol> all, Map<Syntax.Node, Symbols.ClaferSymbol> byDeclaration, List<Diagnostic> diagnostics) Creates an instance of aResultrecord class.