Class: SyntaxTree::Translation::RuboCopAST

Inherits:
Parser show all
Defined in:
lib/syntax_tree/translation/rubocop_ast.rb

Overview

This visitor is responsible for converting the syntax tree produced by Syntax Tree into the syntax tree produced by the rubocop/rubocop-ast gem.

Instance Attribute Summary

Attributes inherited from Parser

#buffer, #stack

Method Summary

Methods inherited from Parser

#initialize, #visit

Methods inherited from BasicVisitor

valid_visit_methods, #visit, #visit_all, #visit_child_nodes, visit_method, visit_methods

Constructor Details

This class inherits a constructor from SyntaxTree::Translation::Parser