summaryrefslogtreecommitdiff
path: root/test/ruby/test_ast.rb
AgeCommit message (Expand)Author
2024-01-24Do not use ruby2_keywords for ... argument forwardingJeremy Evans
2024-01-09Introduce NODE_SYM to manage symbol literalyui-knk
2024-01-07Introduce Numeric Node'sS-H-GAMELINKS
2023-11-05ast.rb: Fix bug for source of multibyte charactersalpaca-tc
2023-10-02`yield` cannot be placed outside methods even in blocksNobuyoshi Nakada
2023-09-29Fix `retry` in nested `rescue` blocksNobuyoshi Nakada
2023-09-28Syntax check of `yield` in the parserNobuyoshi Nakada
2023-09-28Suppress void context warnings in verbose modeNobuyoshi Nakada
2023-09-27Out of place jumps are valid in `defined?`Nobuyoshi Nakada
2023-09-27Syntax check of `retry` in the parserNobuyoshi Nakada
2023-09-27Syntax check of block exits in the parserNobuyoshi Nakada
2023-08-25[Bug #19848] Flush BOMNobuyoshi Nakada
2023-03-30[Bug #19547] Add token for unescaped backslashNobuyoshi Nakada
2023-01-06[Bug #19312] Return end-of-input at `__END__`Nobuyoshi Nakada
2023-01-06Check if the argument is Thread::Backtrace::Location objectyui-knk
2022-12-15Disallow mixed usage of ... and */**Shugo Maeda
2022-11-29Add a test case for argument forwardingyui-knk
2022-11-21Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methodsyui-knk
2022-11-18Make anonymous rest arg (*) and block arg (&) accessible from ARGS nodeyui-knk
2022-11-18Allow anonymous keyword rest parameter with other keyword parametersShugo Maeda
2022-10-31Add `node_id_for_backtrace_location` functioneileencodes
2022-10-12Suppress warnings in test/ruby/test_ast.rbYusuke Endoh
2022-10-09Do not set `$!` to `SyntaxError` when error tolerantNobuyoshi Nakada
2022-10-09Extract `assert_error_tolerant`Nobuyoshi Nakada
2022-10-09Set AST prettyprint width to 80 explicitlyNobuyoshi Nakada
2022-10-08"expr_value" can be erroryui-knk
2022-10-08Move `error` from top_stmts and top_stmt to stmtyui-knk
2022-10-08Treat "end" as reserved word with consideration of indentyui-knk
2022-10-08Generates "end" tokens if parser hits end of inputyui-knk
2022-10-08Add error_tolerant option to RubyVM::ASTyui-knk
2022-06-20Prevent a warning "possibly useless use of a literal in void context"Yusuke Endoh
2022-06-17Respect the encoding of the source [Bug #18827]Nobuyoshi Nakada
2022-01-31pend some tests while using to_binaryKoichi Sasada
2021-12-26Make RubyVM::AST.of work with code written in `-e` command-line optionYusuke Endoh
2021-12-20test/ruby/test_ast.rb: Avoid a "method redefined" warningYusuke 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-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-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-18ast.rb: RubyVM::AST.parse and .of accepts `save_script_lines: true`Yusuke Endoh
2021-01-01Added AST assertions for method definition arguments [Bug #17495]Nobuyoshi Nakada
2021-01-01Added AST tests for endless method definitionsNobuyoshi 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-01-17Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbbNobuyoshi Nakada
2019-11-12Revert "Method reference operator"Nobuyoshi Nakada
2019-09-07Rename NODE_ARRAY to NODE_LIST to reflect its actual use casesYusuke Endoh
2019-08-30Make RubyVM::AbstractSyntaxTree handle **nil syntaxJeremy Evans