All Known Subinterfaces:
Expr
All Known Implementing Classes:
BindingExpr, DerefExpr, Elem.Spread, FunExpr, McallExpr, NumExpr, RcallExpr, SeqExpr, StrExpr, VarrefExpr, VecExpr

public sealed interface Elem permits Elem.Spread, Expr
An elem of vec bodies or actual args.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    An element of a vec body spreading the expression.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    pos()
    Returns the pos of the elem on the program text.
  • Method Details

    • pos

      int pos()
      Returns the pos of the elem on the program text.
      Returns:
      the pos of the elem on the program text.