Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Usage of Ruby constructs in the ruby/ruby repo; as parsed by Ripper.sexp
benchmark/bm_app_pentomino.rb
bootstraptest/runner.rb
enc/make_encmake.rb
enc/unicode/case-folding.rb
ext/extmk.rb
ext/socket/extconf.rb
ext/tk/sample/tkbiff.rb
lib/mkmf.rb
lib/rdoc/constant.rb
lib/rdoc/markup/pre_process.rb
lib/rdoc/mixin.rb
lib/rexml/attribute.rb
lib/rexml/doctype.rb
lib/rexml/dtd/entitydecl.rb
lib/rexml/dtd/notationdecl.rb
lib/rexml/element.rb
lib/rexml/light/node.rb
lib/rexml/namespace.rb
lib/rexml/parsers/baseparser.rb
lib/rexml/text.rb
lib/rexml/validation/relaxng.rb
lib/rexml/validation/validation.rb
lib/rexml/xmldecl.rb
lib/uri/http.rb
lib/webrick/httpresponse.rb
lib/xmlrpc/client.rb
sample/test.rb
test/lib/envutil.rb
test/ruby/test_parse.rb
test/ruby/test_require.rb
test/ruby/test_stringchar.rb
test/ruby/test_struct.rb
tool/enc-emoji4unicode.rb
tool/merger.rb
tool/redmine-backporter.rb
tool/transcode-tblgen.rb
642585 :@ident
407546 :@tstring_content
392803 :string_literal
392803 :string_content
351616 :var_ref
265777 :@int
233379 :array
209328 :args_add_block
165629 :"."
144070 :call
135142 :method_add_arg
129865 :arg_paren
127356 :@const
77209 :assign
77206 :fcall
66096 :var_field
52189 :params
49300 :@ivar
45818 :symbol_literal
43962 :bodystmt
43010 :symbol
40629 :@kw
40046 :assoc_new
37129 :command
35083 :binary
33248 :def
28653 :const_path_ref
28006 :method_add_block
19113 :paren
18851 :aref
18364 :brace_block
15065 :block_var
14195 :command_call
12473 :string_embexpr <------------
10914 :bare_assoc_hash
9642 :do_block
9273 :if
8651 :@gvar
8489 :vcall
7486 :field
6979 :unary
6862 :aref_field
6476 :regexp_literal
6476 :@regexp_end
5867 :if_mod
5684 :else
5640 :<<
5438 :+
4977 :==
4874 :-@
4754 :const_ref
4203 :void_stmt
3930 :@float
3794 :class
3673 :@op
3516 :args_add_star
3480 :hash
3239 :return
3206 :when
2898 :break
2801 :program
2711 :*
2627 :unless_mod
2564 :defs
2494 :@period
2490 :opassign
2439 :unless
2361 :rest_param
2235 :begin
2202 :-
2126 :massign
1972 :assoclist_from_args
1948 :"&&"
1889 :rescue
1770 :!
1742 :module
1552 :@backref
1487 :=~
1457 :"||"
1390 :alias
1322 :dot2
1316 :while
1312 :lambda
1245 :ifop
1140 :and
1117 :/
1115 :@label
1043 :case
1004 :elsif
988 :ensure
975 :!=
907 :defined
866 :yield
848 :super
833 :<
831 :next
793 :zsuper
780 :@CHAR
740 :return0
730 :>
723 :**
716 :@cvar
698 :blockarg
692 :|
575 :or
516 :%
481 :===
402 :mrhs_new_from_args
391 :string_concat
379 :sclass
349 :top_const_ref
342 :<=>
335 :mlhs_add_star
115 :string_dvar <------------
103 :until
101 :xstring_literal
98 :"::"
90 :until_mod
86 :+@
80 :>>
76 :while_mod
59 :^
48 :~
48 :retry
41 :const_path_field
34 :var_alias
25 :assoc_splat
18 :redo
11 :END
10 :@rational
5 :BEGIN
2 :@backtick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.