class SyntaxTree::Translation::RuboCopAST
Syntax Tree into the syntax tree produced by the rubocop/rubocop-ast gem.
This visitor is responsible for converting the syntax tree produced by
def s(type, children, location)
This method is effectively the same thing as the parser gem except that
def s(type, children, location) ::RuboCop::AST::Builder::NODE_MAP.fetch(type, ::RuboCop::AST::Node).new( type, children, location: location ) end