Class BaseType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String description  
      (package private) Op op  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseType​(Op op, java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String description()
      Description of the type, e.g.
      Op op()
      Type operator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.hydromatic.morel.type.Type

        accept, copy
    • Field Detail

      • description

        final java.lang.String description
      • op

        final Op op
    • Constructor Detail

      • BaseType

        protected BaseType​(Op op,
                           java.lang.String description)
    • Method Detail

      • description

        public java.lang.String description()
        Description copied from interface: Type
        Description of the type, e.g. "int", "int -> int".
        Specified by:
        description in interface Type
      • op

        public Op op()
        Description copied from interface: Type
        Type operator.
        Specified by:
        op in interface Type