Class ApplicationPattern

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

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

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.haskell.syntax.ApplicationPattern type.
      • NAME

        public static final Name NAME
        Name of the hydra.haskell.syntax.ApplicationPattern.name field.
      • ARGS

        public static final Name ARGS
        Name of the hydra.haskell.syntax.ApplicationPattern.args field.
      • name

        public final Name name
        The constructor name
      • args

        public final java.util.List<Pattern> args
        The pattern arguments
    • Constructor Detail

      • ApplicationPattern

        public ApplicationPattern​(Name name,
                                  java.util.List<Pattern> args)
        Constructs an immutable ApplicationPattern.
        Parameters:
        name - The constructor name
        args - The pattern arguments