Package hydra.ext.haskell.ast
Class TypedBinding
- java.lang.Object
-
- hydra.ext.haskell.ast.TypedBinding
-
- All Implemented Interfaces:
java.io.Serializable
public class TypedBinding extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_TYPE_SIGNATURE
static Name
FIELD_NAME_VALUE_BINDING
static Name
TYPE_NAME
TypeSignature
typeSignature
ValueBinding
valueBinding
-
Constructor Summary
Constructors Constructor Description TypedBinding(TypeSignature typeSignature, ValueBinding valueBinding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
TypedBinding
withTypeSignature(TypeSignature typeSignature)
TypedBinding
withValueBinding(ValueBinding valueBinding)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_TYPE_SIGNATURE
public static final Name FIELD_NAME_TYPE_SIGNATURE
-
FIELD_NAME_VALUE_BINDING
public static final Name FIELD_NAME_VALUE_BINDING
-
typeSignature
public final TypeSignature typeSignature
-
valueBinding
public final ValueBinding valueBinding
-
-
Constructor Detail
-
TypedBinding
public TypedBinding(TypeSignature typeSignature, ValueBinding valueBinding)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withTypeSignature
public TypedBinding withTypeSignature(TypeSignature typeSignature)
-
withValueBinding
public TypedBinding withValueBinding(ValueBinding valueBinding)
-
-