summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-06-05 15:23:41 -0400
committergit <[email protected]>2024-06-06 14:15:50 +0000
commitb0059980d04c2395589f3da4a9babaeb45dd4429 ()
tree57958be2955748dee27e119a1faaa8d9d56ae81b /sample
parent27321290d954300192c82cdf5e2c794a695473f5 (diff)
[ruby/prism] Add some samples for using prism APIs
https://.com/ruby/prism/commit/6a4fe21088
-rw-r--r--sample/find_comments.rb22
-rw-r--r--sample/find_nodes.rb41
-rw-r--r--sample/locate_nodes.rb69
3 files changed, 132 insertions, 0 deletions
@@ -0,0 +1,22 @@
@@ -0,0 +1,41 @@
@@ -0,0 +1,69 @@