CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate MatchPattern::getPattern

Gets the pattern in this => expression. In the following example, the pattern is Point{ x:, y: }.

foo => Point{ x:, y: }
CasePattern getPattern()