Package net.hydromatic.morel.type
Class BaseType
- java.lang.Object
-
- net.hydromatic.morel.type.BaseType
-
- All Implemented Interfaces:
Type
- Direct Known Subclasses:
ApplyType,DataType,FnType,ForallType,ListType,RecordType,TupleType
abstract class BaseType extends java.lang.Object implements Type
Abstract implementation of Type.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringdescription(package private) Opop
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Description of the type, e.g.Opop()Type operator.
-
-
-
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:TypeDescription of the type, e.g. "int", "int -> int".- Specified by:
descriptionin interfaceType
-
-