Module: RuboCop::AST::Sexp
- Included in:
- Node
- Defined in:
- lib/rubocop/ast/sexp.rb
Overview
This module provides a shorthand method to create a Node like ‘Parser::AST::Sexp`.
Instance Method Summary collapse
-
#s(type, *children) ⇒ Object
Creates a Node with type ‘type` and children `children`.