Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix variable name and add more example [ci skip] | Kazuhiro NISHIYAMA | 2020-01-03 | 1 | -2/+4 |
| | |||||
* | Fix example of node.type [ci skip] | Kazuhiro NISHIYAMA | 2020-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | ``` % docker run -it --rm rubylang/all-ruby env ALL_RUBY_SINCE=ruby-2.6 ./all-ruby -e 'root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2") p [root, root.type] call = root.children[2] p [call, call.type] ' ruby-2.6.0 [#<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:9>, :SCOPE] [#<RubyVM::AbstractSyntaxTree::Node:LASGN@1:0-1:9>, :LASGN] ... ruby-2.7.0 [#<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:9>, :SCOPE] [#<RubyVM::AbstractSyntaxTree::Node:LASGN@1:0-1:9>, :LASGN] ``` | ||||
* | Improve highlighting in RubyVM::AbstractSyntaxTree docs when using `ri` | Benoit Daloze | 2019-12-14 | 1 | -1/+1 |
| | |||||
* | Clarify in the documentation that RubyVM::AbstractSyntaxTree is not stable API | Benoit Daloze | 2019-12-14 | 1 | -0/+10 |
| | | | | * See [Feature #14844]. | ||||
* | fix line break code (fix to LF) | Koichi Sasada | 2019-11-08 | 1 | -134/+134 |
| | |||||
* | use builtin for RubyVM::AbstractSyntaxTree. | Koichi Sasada | 2019-11-08 | 1 | -0/+134 |
Define RubyVM::AbstractSyntaxTree in ast.rb with __builtin functions. |