Registry / utility / rubocop-ast

rubocop-ast

JSON →
library1.49.1rbrubygemsunverified

RuboCop's Node and NodePattern classes for abstract syntax tree manipulation.

gem install rubocop-ast
INSTALL
IMPORT
SIG · RUBOCOP-AST
R
rubocop-ast
utilityrubyv1.49.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RuboCop::AST
✓ require 'rubocop-ast'

Create and inspect an AST node.

require 'rubocop-ast' node = RuboCop::AST::Node.new(:send, nil, [nil, :puts, [nil, :str, "hello"]]) puts node.method_name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.49.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rubocop-ast — gem install rubocop-ast · libregistry