Package hydra.ext.haskell.ast
Class SimpleValueBinding
java.lang.Object
hydra.ext.haskell.ast.SimpleValueBinding
- All Implemented Interfaces:
Serializable,Comparable<SimpleValueBinding>
public class SimpleValueBinding
extends Object
implements Serializable, Comparable<SimpleValueBinding>
A simple value binding
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Namefinal Maybe<LocalBindings>Optional local bindings (where clause)final PatternThe pattern being boundstatic final Namefinal RightHandSideThe right-hand sidestatic final Namestatic final Name -
Constructor Summary
ConstructorsConstructorDescriptionSimpleValueBinding(Pattern pattern, RightHandSide rhs, Maybe<LocalBindings> localBindings) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SimpleValueBinding other) booleaninthashCode()withLocalBindings(Maybe<LocalBindings> localBindings) withPattern(Pattern pattern) withRhs(RightHandSide rhs)
-
Field Details
-
TYPE_
-
PATTERN
-
RHS
-
LOCAL_BINDINGS
-
pattern
The pattern being bound -
rhs
The right-hand side -
localBindings
Optional local bindings (where clause)
-
-
Constructor Details
-
SimpleValueBinding
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SimpleValueBinding>
-
withPattern
-
withRhs
-
withLocalBindings
-