Class Expr

  • All Implemented Interfaces:
    Eval
    Direct Known Subclasses:
    Fn, Literal, Ref

    public abstract class Expr
    extends Object
    implements Eval
    • Constructor Detail

      • Expr

        public Expr()
    • Method Detail

      • accept

        public abstract <R> R accept​(ExprVisitor<R> visitor)
      • parseShortform

        public static Expr parseShortform​(String shortForm)
        Parse a value from a "short form" used within a template
        Parameters:
        shortForm -
        Returns:
      • template

        public String template()
      • of

        public static Expr of​(boolean value)
      • of

        public static Expr of​(int value)