module RuboCop::Sexp
This module provides a shorthand method to create a {Node} like `AST::Sexp`.
Public Instance Methods
s(type, *children)
click to toggle source
Creates a {Node} with type `type` and children `children`.
# File lib/rubocop/ast_node/sexp.rb, line 9 def s(type, *children) Node.new(type, children) end