class AdLint::Cpp::Matcher::OuterAnyMatching

Public Instance Methods

process(tok) click to toggle source
# File lib/adlint/cpp/subst.rb, line 222
def process(tok)
  if sentry_tok = rest_pattern_tokens.first
    if tok.value == sentry_tok.value
      return OuterTokenMatching.new(@matcher).process(tok)
    end
  end
  self
end