Class Resolver.ResolvedDatatypeDecl

    • Field Detail

      • dataTypes

        private final com.google.common.collect.ImmutableList<DataType> dataTypes
    • Constructor Detail

      • ResolvedDatatypeDecl

        ResolvedDatatypeDecl​(com.google.common.collect.ImmutableList<DataType> dataTypes)
    • Method Detail

      • toDecl

        public Core.DatatypeDecl toDecl()
        Creates a datatype declaration that may have multiple datatypes.

        Only the REPL needs this. Because datatypes are not recursive, a composite declaration

        
         datatype d1 ... and d2 ...

        can always be converted to a chained local,

        
         local datatype d1 ... in local datatype d2 ... end end