Class: Plumb::SemanticMatcher::CollectionMatcher

Inherits:
Opaque
  • Object
show all
Defined in:
lib/plumb/semantic_matcher.rb

Instance Attribute Summary

Attributes inherited from Node

#raw

Instance Method Summary collapse

Methods inherited from Node

#equivalent?, #initialize, #intersect, #intersect_with_finite_set, #intersect_with_range, #matcher_domain, #matches_value, #nominal?, #overlap, #overlap_with_finite_set, #overlap_with_literal, #overlap_with_nominal, #overlap_with_numeric_literal, #overlap_with_opaque, #overlap_with_pattern, #overlap_with_range, #overlap_with_text_literal, #singleton?, #subset_from_finite_set, #subset_from_literal, #subset_from_nominal, #subset_from_numeric_literal, #subset_from_opaque, #subset_from_pattern, #subset_from_range, #subset_from_text_literal, #subset_of, #value_domain

Constructor Details

This class inherits a constructor from Plumb::SemanticMatcher::Node

Instance Method Details

#error_messageObject



92
# File 'lib/plumb/semantic_matcher.rb', line 92

def error_message = "Must be equal to #{raw}"

#kindObject



91
# File 'lib/plumb/semantic_matcher.rb', line 91

def kind = :collection_matcher