Nobuyoshi Nakada
991cf2dd4d
[ruby/prism] [DOC] Specify markdown mode to RDoc
...
12af4e144e
2025-05-29 04:45:58 +00:00
Kevin Newton
127325a4ba
[ruby/prism] No writing to numbered parameters
...
Fixes [Bug #21117 ]
19d4bab5a0
2025-02-13 20:04:02 +00:00
Kevin Newton
687be43c79
[ruby/prism] Expose flags on every node type
...
9f12a56fd6
2024-07-11 14:25:54 -04:00
Kevin Newton
77581dd45b
[ruby/prism] Fix up steep issues
...
21d314eb2e
2024-06-03 20:57:48 +00:00
Kevin Newton
e6340258f8
[ruby/prism] Autoload newlines and comment visitors
...
Having the @newline instance variable in every node adds up, and
since it is so rarely used, we only want to add it when necessary.
Moving this into an autoloaded file and moving the instance variable
out of the default initializers reduces allocated memory because the
nodes are now smaller and some fit into the compact list. On my
machine, I'm seeing about an 8% drop.
eea92c07d2
2024-05-13 15:34:47 +00:00
Kevin Newton
34e0b5b2d4
[ruby/prism] Fix tapioca require order
...
15bf727881
2024-05-10 14:47:21 +00:00
Kevin Newton
23be6599a2
[ruby/prism] Split parse result based on type
...
17194e096d
2024-04-19 19:25:32 +00:00
Ufuk Kayserilioglu
8dfe0c7c28
[ruby/prism] Fix some type-checking errors by using different method calls
...
For example, use `.fetch` or `.dig` instead of `[]`, and use `===` instead of `is_a?` for checking types of objects.
548b54915f
2024-03-06 21:37:52 +00:00
Gopal Patel
dfee033746
[ruby/prism] Replace awkward code changes with steep:ignore
...
Also remove RBS for currently ignored files. Will follow-up when those
check fully in later PRs.
2cae58f86d
2024-02-24 03:39:28 +00:00
Gopal Patel
7556fd937c
[ruby/prism] Split private types
...
0209d093ec
2024-02-24 03:39:22 +00:00
Kevin Newton
79034fbd50
[ruby/prism] More Ruby docs
...
ca9a660f52
2023-11-01 13:10:29 -04:00
Kevin Newton
4f73a7c2f7
Sync to prism rename commits
2023-09-27 13:57:38 -04:00
Kevin Newton
8ab56869a6
Rename YARP filepaths to prism filepaths
2023-09-27 13:57:38 -04:00