Package hydra.ext.haskell.ast
Class SimpleValueBinding
- java.lang.Object
-
- hydra.ext.haskell.ast.SimpleValueBinding
-
- All Implemented Interfaces:
java.io.Serializable
public class SimpleValueBinding extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_LOCAL_BINDINGS
static Name
FIELD_NAME_PATTERN
static Name
FIELD_NAME_RHS
Opt<LocalBindings>
localBindings
Pattern
pattern
RightHandSide
rhs
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description SimpleValueBinding(Pattern pattern, RightHandSide rhs, Opt<LocalBindings> localBindings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
SimpleValueBinding
withLocalBindings(Opt<LocalBindings> localBindings)
SimpleValueBinding
withPattern(Pattern pattern)
SimpleValueBinding
withRhs(RightHandSide rhs)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_PATTERN
public static final Name FIELD_NAME_PATTERN
-
FIELD_NAME_RHS
public static final Name FIELD_NAME_RHS
-
FIELD_NAME_LOCAL_BINDINGS
public static final Name FIELD_NAME_LOCAL_BINDINGS
-
pattern
public final Pattern pattern
-
rhs
public final RightHandSide rhs
-
localBindings
public final Opt<LocalBindings> localBindings
-
-
Constructor Detail
-
SimpleValueBinding
public SimpleValueBinding(Pattern pattern, RightHandSide rhs, Opt<LocalBindings> localBindings)
-
-
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
-
withPattern
public SimpleValueBinding withPattern(Pattern pattern)
-
withRhs
public SimpleValueBinding withRhs(RightHandSide rhs)
-
withLocalBindings
public SimpleValueBinding withLocalBindings(Opt<LocalBindings> localBindings)
-
-