Module xl

Class CompoundPattern

All Implemented Interfaces:
BytecodeSerialization.Serializable

public final class CompoundPattern extends BuiltInPattern
  • Field Details

  • Constructor Details

    • CompoundPattern

      public CompoundPattern(Type[] types, boolean[] paramIsNode, boolean[] forceParamIsContext, Pattern[] predicates, boolean[] predIsContext, short[][] paramMappings, short[][] dependencies, short[][] foldings, int in, int out, int direction, int predType, boolean optional, String continueLabel)
  • Method Details

    • write

      public void write(BytecodeSerialization out) throws IOException
      Throws:
      IOException
    • getInParameter

      public int getInParameter()
    • getOutParameter

      public int getOutParameter()
    • getParameterKind

      public int getParameterKind(int index)
      Specified by:
      getParameterKind in class Pattern
    • createMatcher

      public Pattern.Matcher createMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut)
      Creates a Matcher object for this CompoundPattern instance.
      Specified by:
      createMatcher in class Pattern
      Parameters:
      src - the runtime graph in which the created matcher will search for matches
      providedConstants - specifies which parameters are already bounded
      neededConstantsOut - specifies which parameters need to be bounded
      Returns:
      Matcher object that can find matches in the graph
    • isDeleting

      public boolean isDeleting()
      Overrides:
      isDeleting in class Pattern
    • paramString

      protected String paramString()
      Overrides:
      paramString in class Pattern