Module: RuboCop::AST::Sexp
- Included in:
- Node, Cop::Cop, Cop::Cop, Cop::Lint::DeprecatedClassMethods::DeprecatedClassMethod
- 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`.