summaryrefslogtreecommitdiff
path: root/ast.c
Commit message (Expand)AuthorAgeFilesLines
* Add utility macros `DECIMAL_SIZE_OF` and `DECIMAL_SIZE_OF_BYTES`Nobuyoshi Nakada2023-02-141-1/+1
* Check if the argument is Thread::Backtrace::Location objectyui-knk2023-01-061-0/+5
* Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methodsyui-knk2022-11-211-13/+25
* Add `node_id_for_backtrace_location` functioneileencodes2022-10-311-0/+12
* Move `error` from top_stmts and top_stmt to stmtyui-knk2022-10-081-0/+2
* Add error_tolerant option to RubyVM::ASTyui-knk2022-10-081-13/+16
* Add ISEQ_BODY macroPeter Zhu2022-03-241-2/+2
* Make RubyVM::AST.of work with code written in `-e` command-line optionYusuke Endoh2021-12-261-4/+7
* Make AST.of possible even under eval when keep_script_lines is enabledYusuke Endoh2021-12-191-2/+2
* Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh2021-12-191-11/+15
* Remove `NODE_DASGN_CURR` [Feature #18406]Nobuyoshi Nakada2021-12-131-1/+0
* Add `nd_type_p` macroS.H2021-12-041-3/+3
* Refactor hacky ID tables to struct rb_ast_id_table_tYusuke Endoh2021-11-211-3/+3
* ast.c: Use kept script_lines data instead of re-opening the source file (#5019)Yusuke Endoh2021-10-261-4/+5
* ast.c: AST.of against C method should return nil (as Ruby 2.6--3.0)Yusuke Endoh2021-09-181-1/+1
* ast.c: AST.of checks if a given method object is defined in CYusuke Endoh2021-09-181-0/+3
* Replace RBOOL macroS-H-GAMELINKS2021-09-051-2/+2
* ast.c: Rename "save_script_lines" to "keep_script_lines"Yusuke Endoh2021-08-201-16/+16
* Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in evalJeremy Evans2021-07-291-0/+3
* Experimentally expose RubyVM::AST::Node#node_idYusuke Endoh2021-06-211-6/+1
* Enable USE_ISEQ_NODE_ID by defaultYusuke Endoh2021-06-181-2/+2
* Make it possible to get AST::Node from Thread::Backtrace::LocationYusuke Endoh2021-06-181-12/+15
* node.h: Reduce struct size to fit with Ruby object size (five VALUEs)Yusuke Endoh2021-06-181-1/+1
* ast.rb: RubyVM::AST.parse and .of accepts `save_script_lines: true`Yusuke Endoh2021-06-181-16/+32
* compile.c: Pass node instead of nd_line(node) to ADD_INSN* functionsYusuke Endoh2021-05-071-0/+14
* Remove unused rb_ast_parse_array declarationS.H2021-03-201-1/+0
* Unfreeze string-literal-only interpolated string-literalNobuyoshi Nakada2020-09-301-3/+9
* Hoisted out functions for no name rest argument symbolNobuyoshi Nakada2020-07-081-8/+19
* Constified NODE pointer in ASTNodeDataNobuyoshi Nakada2020-07-081-7/+7
* Added `NODE_SPECIAL_EXCESSIVE_COMMA` info to `ARGS` of `RubyVM::AbstractSynta...manga_osyo2020-07-081-1/+3
* Add operator info to `OP_ASGN2` of `RubyVM::AbstractSyntaxTree`.manga_osyo2020-07-061-1/+2
* node_children: do not goto into a branch卜部昌平2020-06-291-29/+2
* Introduce find pattern [Feature #16828]Kazuki Tsujimoto2020-06-141-0/+13
* Separate builtin initialization callsNobuyoshi Nakada2019-12-291-2/+0
* decouple internal.h headers卜部昌平2019-12-261-3/+7
* Revert "Method reference operator"Nobuyoshi Nakada2019-11-121-3/+0
* Renamed `load_*.inc` as `*.rbinc` to utilize a suffix ruleNobuyoshi Nakada2019-11-081-1/+1
* use builtin for RubyVM::AbstractSyntaxTree.Koichi Sasada2019-11-081-127/+15
* Rename NODE_ARRAY to NODE_LIST to reflect its actual use casesYusuke Endoh2019-09-071-3/+3
* Make pattern matching support **nil syntaxKazuki Tsujimoto2019-09-011-1/+4
* Make RubyVM::AbstractSyntaxTree handle **nil syntaxJeremy Evans2019-08-301-2/+2
* Make it as clear as possible that RubyVM is MRI-specific and only exists on M...Benoit Daloze2019-08-191-0/+5
* Support memsize of ASTNobuyoshi Nakada2019-07-231-1/+8
* ast.c: update inspect results in the documentsNobuyoshi Nakada2019-05-221-4/+4
* Distinguish pre-condition and post-condition loopsNobuyoshi Nakada2019-05-181-1/+2
* Avoid usage of the dummy empty BEGIN nodektsj2019-04-201-1/+3
* Add symbol to the result of `RubyVM::AbstractSyntaxTree#children`.yui-knk2019-04-201-3/+8
* Introduce pattern matching [EXPERIMENTAL]ktsj2019-04-171-0/+20
* [DOC] fix markups [ci skip]nobu2019-03-221-5/+5
* ast.c: fix missing head part in dynamic literalnobu2019-01-141-1/+3