vendor/bundle/ruby/3.0.0/gems/brakeman-5.2.2/bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/sexp_matcher.rb
##
# Parses a balanced list of expressions and returns the
# equivalent matcher.
Parses a balanced list of expressions and returns the
equivalent matcher.
Parses a balanced list of expressions and returns the equivalent matcher .
def parse_list
        result = []
        result << parse_sexp while peek_token && peek_token != ")"
        next_token 
        Sexp.q(*result)
      end
def parse_list result = [ ] result << parse_sexp while peek_token && peek_token != ")" next_token Sexp . q ( * result ) end
Parses a balanced list of expressions and returns the
equivalent matcher.
Parses a balanced list of expressions and returns the equivalent matcher .
# pop off ")"