Interface Ir.Node
- All Known Subinterfaces:
Ir.Element, Ir.Exp
- All Known Implementing Classes:
Ir.AbstractMultiplicity, Ir.Anchor, Ir.Assertion, Ir.Binary, Ir.Call, Ir.Card, Ir.Cast, Ir.ClaferDecl, Ir.Connected, Ir.ConstantSet, Ir.Constraint, Ir.DecimalLit, Ir.Decl, Ir.DoubleLit, Ir.Dref, Ir.EnumDecl, Ir.IfThenElse, Ir.Initializer, Ir.IntLit, Ir.Join, Ir.Model, Ir.Modifier, Ir.Name, Ir.NameExp, Ir.NoClafer, Ir.Objective, Ir.ParentOf, Ir.Pattern, Ir.Quantified, Ir.QuantifiedSet, Ir.RefDecl, Ir.RelationOf, Ir.RootBlock, Ir.StringLit, Ir.Temporal, Ir.This, Ir.Transition, Ir.Unary
- Enclosing class:
Ir
public static sealed interface Ir.Node
permits Ir.Model, Ir.Element, Ir.Exp, Ir.Name, Ir.Card, Ir.RefDecl, Ir.Modifier, Ir.Initializer, Ir.AbstractMultiplicity, Ir.Objective, Ir.Assertion, Ir.Decl
A node of the tree.
-
Method Summary
-
Method Details
-
span
- Returns:
- where the node is in the source
-
isRich
- Returns:
- whether nodes of this type are outside the core, a constant of the type
-