path: root/ast.c
AgeCommit message (Expand)Author
9 daysEnhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methodsyui-knk
2022-10-31Add `node_id_for_backtrace_location` functioneileencodes
2022-10-08Move `error` from top_stmts and top_stmt to stmtyui-knk
2022-10-08Add error_tolerant option to RubyVM::ASTyui-knk
2022-03-24Add ISEQ_BODY macroPeter Zhu
2021-12-26Make RubyVM::AST.of work with code written in `-e` command-line optionYusuke Endoh
2021-12-19Make AST.of possible even under eval when keep_script_lines is enabledYusuke Endoh
2021-12-19Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh
2021-12-13Remove `NODE_DASGN_CURR` [Feature #18406]Nobuyoshi Nakada
2021-12-04Add `nd_type_p` macroS.H
2021-11-21Refactor hacky ID tables to struct rb_ast_id_table_tYusuke Endoh
2021-10-26ast.c: Use kept script_lines data instead of re-opening the source file (#5019)Yusuke Endoh
2021-09-18ast.c: AST.of against C method should return nil (as Ruby 2.6--3.0)Yusuke Endoh
2021-09-18ast.c: AST.of checks if a given method object is defined in CYusuke Endoh
2021-09-05Replace RBOOL macroS-H-GAMELINKS
2021-08-20ast.c: Rename "save_script_lines" to "keep_script_lines"Yusuke Endoh
2021-07-29Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in evalJeremy Evans
2021-06-21Experimentally expose RubyVM::AST::Node#node_idYusuke Endoh
2021-06-18Enable USE_ISEQ_NODE_ID by defaultYusuke Endoh
2021-06-18Make it possible to get AST::Node from Thread::Backtrace::LocationYusuke Endoh
2021-06-18node.h: Reduce struct size to fit with Ruby object size (five VALUEs)Yusuke Endoh
2021-06-18ast.rb: RubyVM::AST.parse and .of accepts `save_script_lines: true`Yusuke Endoh
2021-05-07compile.c: Pass node instead of nd_line(node) to ADD_INSN* functionsYusuke Endoh
2021-03-20Remove unused rb_ast_parse_array declarationS.H
2020-09-30Unfreeze string-literal-only interpolated string-literalNobuyoshi Nakada
2020-07-08Hoisted out functions for no name rest argument symbolNobuyoshi Nakada
2020-07-08Constified NODE pointer in ASTNodeDataNobuyoshi Nakada
2020-07-08Added `NODE_SPECIAL_EXCESSIVE_COMMA` info to `ARGS` of `RubyVM::AbstractSynta...manga_osyo
2020-07-06Add operator info to `OP_ASGN2` of `RubyVM::AbstractSyntaxTree`.manga_osyo
2020-06-29node_children: do not goto into a branch卜部昌平
2020-06-14Introduce find pattern [Feature #16828]Kazuki Tsujimoto
2019-12-29Separate builtin initialization callsNobuyoshi Nakada
2019-12-26decouple internal.h headers卜部昌平
2019-11-12Revert "Method reference operator"Nobuyoshi Nakada
2019-11-08Renamed `load_*.inc` as `*.rbinc` to utilize a suffix ruleNobuyoshi Nakada
2019-11-08use builtin for RubyVM::AbstractSyntaxTree.Koichi Sasada
2019-09-07Rename NODE_ARRAY to NODE_LIST to reflect its actual use casesYusuke Endoh
2019-09-01Make pattern matching support **nil syntaxKazuki Tsujimoto
2019-08-30Make RubyVM::AbstractSyntaxTree handle **nil syntaxJeremy Evans
2019-08-19Make it as clear as possible that RubyVM is MRI-specific and only exists on M...Benoit Daloze
2019-07-23Support memsize of ASTNobuyoshi Nakada
2019-05-22ast.c: update inspect results in the documentsNobuyoshi Nakada
2019-05-18Distinguish pre-condition and post-condition loopsNobuyoshi Nakada
2019-04-20Avoid usage of the dummy empty BEGIN nodektsj
2019-04-20Add symbol to the result of `RubyVM::AbstractSyntaxTree#children`.yui-knk
2019-04-17Introduce pattern matching [EXPERIMENTAL]ktsj
2019-03-22[DOC] fix markups [ci skip]nobu
2019-01-14ast.c: fix missing head part in dynamic literalnobu
2019-01-06ast.c: argument must be a stringnobu
2018-12-31Method reference operatornobu