Class DInterleavePattern

All Implemented Interfaces:
ParsedPattern, Iterable<DPattern>

public class DInterleavePattern extends DContainerPattern
Author:
Kohsuke Kawaguchi ([email protected])
  • Constructor Details

    • DInterleavePattern

      public DInterleavePattern()
  • Method Details

    • isNullable

      public boolean isNullable()
      Description copied from class: DPattern
      Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.
      Specified by:
      isNullable in class DPattern
    • accept

      public Object accept(DPatternVisitor visitor)
      Specified by:
      accept in class DPattern