Class Listcomp

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Listcomp>

    public class Listcomp
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Listcomp>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.python.syntax.Listcomp type.
      • EXPRESSION

        public static final Name EXPRESSION
        Name of the hydra.python.syntax.Listcomp.expression field.
      • FOR_IF_CLAUSES

        public static final Name FOR_IF_CLAUSES
        Name of the hydra.python.syntax.Listcomp.forIfClauses field.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(Listcomp other)
        Specified by:
        compareTo in interface java.lang.Comparable<Listcomp>
      • withForIfClauses

        public Listcomp withForIfClauses​(ForIfClauses forIfClauses)
        Returns a copy of this Listcomp with forIfClauses replaced.