Registry / utility / syntax-tree

syntax-tree

JSON →
library6.3.0rbrubygemsunverified

A parser based on Ripper that produces a structured syntax tree for Ruby code.

gem install syntax_tree
INSTALL
IMPORT
SIG · SYNTAX-TREE
S
syntax-tree
utilityrubyv6.3.0
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.

SyntaxTree
require 'syntax_tree'

Parse Ruby code into a syntax tree

require 'syntax_tree' tree = SyntaxTree.parse('1 + 2') puts tree
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
syntax-tree — gem install syntax-tree · libregistry