Package hydra.ext.python.syntax
Class Listcomp
- java.lang.Object
-
- hydra.ext.python.syntax.Listcomp
-
- All Implemented Interfaces:
java.io.Serializable
public class Listcomp extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description NamedExpressionexpressionstatic NameFIELD_NAME_EXPRESSIONstatic NameFIELD_NAME_FOR_IF_CLAUSESForIfClausesforIfClausesstatic NameTYPE_NAME
-
Constructor Summary
Constructors Constructor Description Listcomp(NamedExpression expression, ForIfClauses forIfClauses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()ListcompwithExpression(NamedExpression expression)ListcompwithForIfClauses(ForIfClauses forIfClauses)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_EXPRESSION
public static final Name FIELD_NAME_EXPRESSION
-
FIELD_NAME_FOR_IF_CLAUSES
public static final Name FIELD_NAME_FOR_IF_CLAUSES
-
expression
public final NamedExpression expression
-
forIfClauses
public final ForIfClauses forIfClauses
-
-
Constructor Detail
-
Listcomp
public Listcomp(NamedExpression expression, ForIfClauses forIfClauses)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
withExpression
public Listcomp withExpression(NamedExpression expression)
-
withForIfClauses
public Listcomp withForIfClauses(ForIfClauses forIfClauses)
-
-