Package hydra.ext.haskell.ast
Class InfixApplicationExpression
- java.lang.Object
-
- hydra.ext.haskell.ast.InfixApplicationExpression
-
- All Implemented Interfaces:
java.io.Serializable
public class InfixApplicationExpression extends java.lang.Object implements java.io.Serializable
An infix application expression- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_LHS
static Name
FIELD_NAME_OPERATOR
static Name
FIELD_NAME_RHS
Expression
lhs
Operator
operator
Expression
rhs
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description InfixApplicationExpression(Expression lhs, Operator operator, Expression rhs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
InfixApplicationExpression
withLhs(Expression lhs)
InfixApplicationExpression
withOperator(Operator operator)
InfixApplicationExpression
withRhs(Expression rhs)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_LHS
public static final Name FIELD_NAME_LHS
-
FIELD_NAME_OPERATOR
public static final Name FIELD_NAME_OPERATOR
-
FIELD_NAME_RHS
public static final Name FIELD_NAME_RHS
-
lhs
public final Expression lhs
-
operator
public final Operator operator
-
rhs
public final Expression rhs
-
-
Constructor Detail
-
InfixApplicationExpression
public InfixApplicationExpression(Expression lhs, Operator operator, Expression rhs)
-
-
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
-
withLhs
public InfixApplicationExpression withLhs(Expression lhs)
-
withOperator
public InfixApplicationExpression withOperator(Operator operator)
-
withRhs
public InfixApplicationExpression withRhs(Expression rhs)
-
-