summaryrefslogtreecommitdiff
path: root/lib/prism/parse_result
AgeCommit message (Collapse)Author
2025-05-29[ruby/prism] [DOC] Specify markdown mode to RDocNobuyoshi Nakada
https://.com/ruby/prism/commit/12af4e144e
2025-02-13[ruby/prism] No writing to numbered parametersKevin Newton
Fixes [Bug #21117] https://.com/ruby/prism/commit/19d4bab5a0
2024-12-11[ruby/prism] Bump typechecking depsKevin Newton
https://.com/ruby/prism/commit/230c8b8a48
2024-07-11[ruby/prism] Various cleanup for initializers and typechecksKevin Newton
https://.com/ruby/prism/commit/86cf82794a
2024-07-11[ruby/prism] Expose flags on every node typeKevin Newton
https://.com/ruby/prism/commit/9f12a56fd6
2024-07-11[ruby/prism] Move location to second position for node initializersKevin Newton
https://.com/ruby/prism/commit/4cc0eda4ca
2024-07-11[ruby/prism] Reconfigure error testsKevin Newton
https://.com/ruby/prism/commit/fb7e1ebb7f
2024-06-03[ruby/prism] Fix up steep issuesKevin Newton
https://.com/ruby/prism/commit/21d314eb2e
2024-05-13[ruby/prism] Autoload newlines and comment visitorsKevin Newton
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. https://.com/ruby/prism/commit/eea92c07d2
2024-05-10[ruby/prism] Fix tapioca require orderKevin Newton
https://.com/ruby/prism/commit/15bf727881
2024-04-19[ruby/prism] Split parse result based on typeKevin Newton
https://.com/ruby/prism/commit/17194e096d
2024-03-06[ruby/prism] Fix some type-checking errors by using different method callsUfuk Kayserilioglu
For example, use `.fetch` or `.dig` instead of `[]`, and use `===` instead of `is_a?` for checking types of objects. https://.com/ruby/prism/commit/548b54915f
2024-02-24[ruby/prism] Replace awkward code changes with steep:ignoreGopal Patel
Also remove RBS for currently ignored files. Will follow-up when those check fully in later PRs. https://.com/ruby/prism/commit/2cae58f86d
2024-02-24[ruby/prism] Remove Ripper from public RBS, type-assert remaining issuesGopal Patel
https://.com/ruby/prism/commit/5fda7a0760
2024-02-24[ruby/prism] Split private typesGopal Patel
https://.com/ruby/prism/commit/0209d093ec
2024-02-24[ruby/prism] Use steep to type check RBS and Ruby filesGopal Patel
https://.com/ruby/prism/commit/eabed9f4fd
2024-02-18[ruby/prism] Lazy methods for start and end offset on nodeKevin Newton
https://.com/ruby/prism/commit/4510e2746d
2024-02-18[ruby/prism] Split up comments between leading and trailingKevin Newton
Also make them lazy to allocate the array, and also expose ParseResult#encoding. https://.com/ruby/prism/commit/08ec7683ae
2023-11-01[ruby/prism] More Ruby docsKevin Newton
https://.com/ruby/prism/commit/ca9a660f52
2023-09-27Sync to prism rename commitsKevin Newton
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton