class Prism::Pattern

def compile_symbol_node(node)

in :foo
in :+
def compile_symbol_node(node)
  symbol = node.unescaped.to_sym
  ->(attribute) { symbol === attribute }
end