Interface BlockMatcher

All Known Implementing Classes:
AnyBlockMatcher, ClassBlockMatcher, CompositeBlockMatcher, CounterBlockMatcher, EqualsBlockMatcher, FunctionBlockMatcher, MacroBlockMatcher, MacroMarkerBlockMatcher, MetadataBlockMatcher, OrBlockMatcher, SameBlockMatcher

public interface BlockMatcher
Used by Block search method to select Block.
Since:
3.0M3
Version:
$Id: 18b4fcd9b5d46b73c075cb4567e4311725121b5e $
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(Block block)
    True if the provided block is matched.
  • Method Details

    • match

      boolean match(Block block)
      True if the provided block is matched.
      Parameters:
      block - the block to match
      Returns:
      true if the provided block is matched, false otherwise