Class PatternExpr

    • Field Detail

      • type

        private Type type
        The types of record patters and top-level type patterns must be reference types, but nested type patterns can also have primitive types.
    • Constructor Detail

      • PatternExpr

        public PatternExpr​(Type type)
      • PatternExpr

        public PatternExpr​(TokenRange tokenRange,
                           Type type)
        This constructor is used by the parser and is considered private.