Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- (unknown)
Instance Method Summary collapse
Instance Method Details
#parse_begin_to_nodes(*args) ⇒ Object
300 301 302 303 304 305 306 307 308 309 310 |
# File 'ext/rubynode_ext/rubynode_ext.c', line 300 static VALUE str_parse_begin_to_nodes(int argc, VALUE *argv, VALUE src) { str_parse(argc, argv, src); if (ruby_eval_tree_begin) { VALUE res = node_to_rnode(ruby_eval_tree_begin); ruby_eval_tree_begin = 0; return res; } else return Qnil; } |
#parse_to_nodes(*args) ⇒ Object
313 314 315 316 317 318 319 320 321 322 323 |
# File 'ext/rubynode_ext/rubynode_ext.c', line 313 static VALUE str_parse_to_nodes(int argc, VALUE *argv, VALUE src) { VALUE result; result = node_to_rnode(str_parse(argc, argv, src)); #if RUBY_VERSION_CODE < 190 ruby_eval_tree_begin = 0; #endif return result; } |