Package hydra.ext.haskell.ast
Class ValueBinding_Simple
- java.lang.Object
-
- hydra.ext.haskell.ast.ValueBinding_Simple
-
- All Implemented Interfaces:
java.io.Serializable
public class ValueBinding_Simple 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 ValueBinding_Simple(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()
ValueBinding_Simple
withLocalBindings(Opt<LocalBindings> localBindings)
ValueBinding_Simple
withPattern(Pattern pattern)
ValueBinding_Simple
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
-
ValueBinding_Simple
public ValueBinding_Simple(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 ValueBinding_Simple withPattern(Pattern pattern)
-
withRhs
public ValueBinding_Simple withRhs(RightHandSide rhs)
-
withLocalBindings
public ValueBinding_Simple withLocalBindings(Opt<LocalBindings> localBindings)
-
-