Class MatchingScanner

All Implemented Interfaces:
CtVisitor

public class MatchingScanner extends EarlyTerminatingScanner<Void>
Represents a Match of TemplateMatcher
  • Constructor Details

  • Method Details

    • scan

      public void scan(CtRole role, CtElement element)
      Description copied from class: CtScanner
      Generically scans a meta-model element.
      Overrides:
      scan in class EarlyTerminatingScanner<Void>
      Parameters:
      role - Role of the element in its parent
      element - An element to scan
    • scan

      public void scan(CtRole role, Collection<? extends CtElement> elements)
      Description copied from class: CtScanner
      Generically scans a collection of meta-model elements.
      Overrides:
      scan in class EarlyTerminatingScanner<Void>
      Parameters:
      role - Role of the collection in the parent element
      elements - A collection of elements to scan (generally sibling elements)
    • scan

      public void scan(CtRole role, Map<String,​? extends CtElement> elements)
      Description copied from class: CtScanner
      Generically scans a Map of meta-model elements.
      Overrides:
      scan in class EarlyTerminatingScanner<Void>
      Parameters:
      role - Role of the map in the parent element
      elements - A map of elements to scan (generally sibling elements)