class Spectator::LocationNodeFilter
 
  
  Overview
Filter that matches nodes in a given file and line.
Defined in:
spectator/location_node_filter.crConstructors
- 
        .new(location : Location)
        
          
Creates the filter.
 
Instance Method Summary
- 
        #includes?(node) : Bool
        
          
Checks whether the node satisfies the filter.
 
Instance methods inherited from class Spectator::NodeFilter
  
  
    
      ===(node)
    ===, 
    
  
    
      includes?(node) : Bool
    includes?
    
  
    
    
  
    
    
    
  
    
  Instance methods inherited from class Object
  
  
    
      should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall Ushould(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should, should_eventually(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_eventually, should_never(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_never, should_not(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should_not(matcher : Spectator::Matchers::NilMatcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_not
Constructor Detail
Creates the filter. The location indicates which file and line the node must contain.