class Fear::Extractor::Grammar::NonEmptyArray

Public Instance Methods

to_matcher() click to toggle source
# File lib/fear/extractor/grammar.rb, line 25
def to_matcher
  head, tail = elements
  ArrayMatcher.new(head: head.to_matcher, tail: tail.to_matcher, node: self)
end