lib-ruby-parser (C++ bindings)  4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
nodes.hpp
Go to the documentation of this file.
1 #ifndef LIB_RUBY_PARSER_NODES_HPP
2 #define LIB_RUBY_PARSER_NODES_HPP
3 
4 // This file is autogenerated by codegen/nodes.hpp.liquid
5 
6 #include <cstddef>
7 #include "string.hpp"
8 #include "loc.hpp"
9 #include "bytes.hpp"
10 
11 namespace lib_ruby_parser
12 {
13  class Node;
14  class NodeList
15  {
16  public:
18  size_t capacity;
19  size_t len;
20 
21  NodeList() = delete;
22  NodeList(Node *ptr, size_t len, size_t capacity);
23  ~NodeList();
24 
25  NodeList(const NodeList &) = delete;
26  NodeList &operator=(NodeList const &) = delete;
27 
28  NodeList(NodeList &&);
30  };
31 
32 
34  class Alias
35  {
36  public:
40  Node *to;
41 
46 
54 
62 
63  };
64 
66  class And
67  {
68  public:
73 
78 
86 
94 
95  };
96 
98  class AndAsgn
99  {
100  public:
105 
110 
118 
126 
127  };
128 
132  class Arg
133  {
134  public:
137 
145 
146  };
147 
151  class Args
152  {
153  public:
156 
164 
174 
184 
185  };
186 
188  class Array
189  {
190  public:
193 
201 
209 
217 
218  };
219 
222  {
223  public:
226 
236 
246 
254 
255  };
256 
261  {
262  public:
265 
275 
285 
293 
294  };
295 
301  class BackRef
302  {
303  public:
306 
314 
315  };
316 
320  class Begin
321  {
322  public:
325 
339 
353 
361 
362  };
363 
365  class Block
366  {
367  public:
372 
379 
382 
390 
398 
406 
407  };
408 
410  class Blockarg
411  {
412  public:
415 
423 
431 
439 
440  };
441 
443  class BlockPass
444  {
445  public:
450 
458 
466 
467  };
468 
470  class Break
471  {
472  public:
475 
483 
491 
492  };
493 
495  class Case
496  {
497  public:
507 
510 
513 
521 
531 
539 
547 
548  };
549 
551  class CaseMatch
552  {
553  public:
563 
566 
569 
577 
587 
595 
603 
604  };
605 
607  class Casgn
608  {
609  public:
615 
618 
624 
637 
645 
656 
664 
665  };
666 
668  class Cbase
669  {
670  public:
678 
679  };
680 
682  class Class
683  {
684  public:
687 
692 
695 
703 
713 
721 
729 
730  };
731 
733  class Complex
734  {
735  public:
738 
748 
756 
757  };
758 
760  class Const
761  {
762  public:
768 
771 
779 
787 
795 
796  };
797 
800  {
801  public:
804 
809 
817 
825 
833 
834  };
835 
837  class CSend
838  {
839  public:
842 
845 
854 
862 
872 
882 
892 
902 
910 
911  };
912 
914  class Cvar
915  {
916  public:
919 
927 
928  };
929 
931  class Cvasgn
932  {
933  public:
936 
939 
947 
955 
963 
964  };
965 
967  class Def
968  {
969  public:
972 
977 
980 
988 
996 
1006 
1016 
1024 
1025  };
1026 
1028  class Defined
1029  {
1030  public:
1033 
1041 
1051 
1061 
1069 
1070  };
1071 
1073  class Defs
1074  {
1075  public:
1078 
1081 
1086 
1089 
1097 
1105 
1113 
1123 
1133 
1141 
1142  };
1143 
1145  class Dstr
1146  {
1147  public:
1150 
1161 
1172 
1183 
1184  };
1185 
1187  class Dsym
1188  {
1189  public:
1192 
1206 
1220 
1228 
1229  };
1230 
1233  {
1234  public:
1237 
1240 
1248 
1256 
1257  };
1258 
1266  {
1267  public:
1275 
1276  };
1277 
1279  class Encoding
1280  {
1281  public:
1289 
1290  };
1291 
1293  class Ensure
1294  {
1295  public:
1301 
1306 
1314 
1324 
1325  };
1326 
1328  class Erange
1329  {
1330  public:
1333 
1336 
1344 
1352 
1353  };
1354 
1356  class False
1357  {
1358  public:
1366 
1367  };
1368 
1370  class File
1371  {
1372  public:
1380 
1381  };
1382 
1387  {
1388  public:
1391 
1401 
1411 
1419 
1420  };
1421 
1423  class Float
1424  {
1425  public:
1428 
1436 
1444 
1445  };
1446 
1448  class For
1449  {
1450  public:
1453 
1456 
1459 
1467 
1475 
1485 
1493 
1501 
1502  };
1503 
1506  {
1507  public:
1515 
1516  };
1517 
1520  {
1521  public:
1529 
1530  };
1531 
1533  class Gvar
1534  {
1535  public:
1538 
1546 
1547  };
1548 
1550  class Gvasgn
1551  {
1552  public:
1555 
1561 
1569 
1580 
1588 
1589  };
1590 
1592  class Hash
1593  {
1594  public:
1597 
1607 
1617 
1625 
1626  };
1627 
1630  {
1631  public:
1634 
1644 
1654 
1662 
1663  };
1664 
1668  class Heredoc
1669  {
1670  public:
1673 
1681 
1689 
1706 
1707  };
1708 
1710  class If
1711  {
1712  public:
1715 
1718 
1721 
1729 
1739 
1749 
1757 
1765 
1766  };
1767 
1769  class IfGuard
1770  {
1771  public:
1774 
1782 
1790 
1791  };
1792 
1795  {
1796  public:
1799 
1802 
1810 
1818 
1819  };
1820 
1822  class IfMod
1823  {
1824  public:
1827 
1833 
1839 
1850 
1861 
1862  };
1863 
1866  {
1867  public:
1870 
1873 
1876 
1884 
1892 
1900 
1901  };
1902 
1904  class Index
1905  {
1906  public:
1909 
1912 
1920 
1928 
1936 
1937  };
1938 
1941  {
1942  public:
1945 
1948 
1954 
1962 
1970 
1981 
1989 
1990  };
1991 
1994  {
1995  public:
1998 
2003 
2006 
2014 
2022 
2030 
2031  };
2032 
2034  class Int
2035  {
2036  public:
2039 
2047 
2055 
2056  };
2057 
2059  class Irange
2060  {
2061  public:
2064 
2067 
2075 
2083 
2084  };
2085 
2087  class Ivar
2088  {
2089  public:
2092 
2100 
2101  };
2102 
2104  class Ivasgn
2105  {
2106  public:
2109 
2115 
2123 
2134 
2142 
2143  };
2144 
2146  class Kwarg
2147  {
2148  public:
2151 
2159 
2167 
2168  };
2169 
2171  class Kwargs
2172  {
2173  public:
2176 
2184 
2185  };
2186 
2194  class KwBegin
2195  {
2196  public:
2199 
2207 
2215 
2223 
2224  };
2225 
2227  class Kwnilarg
2228  {
2229  public:
2237 
2245 
2246  };
2247 
2249  class Kwoptarg
2250  {
2251  public:
2254 
2257 
2265 
2273 
2274  };
2275 
2278  {
2279  public:
2284 
2292 
2302 
2310 
2311  };
2312 
2314  class Kwsplat
2315  {
2316  public:
2319 
2327 
2335 
2336  };
2337 
2341  class Lambda
2342  {
2343  public:
2351 
2352  };
2353 
2355  class Line
2356  {
2357  public:
2365 
2366  };
2367 
2376  class Lvar
2377  {
2378  public:
2381 
2389 
2390  };
2391 
2393  class Lvasgn
2394  {
2395  public:
2398 
2401 
2409 
2420 
2428 
2429  };
2430 
2432  class Masgn
2433  {
2434  public:
2437 
2440 
2448 
2456 
2457  };
2458 
2460  class MatchAlt
2461  {
2462  public:
2465 
2468 
2476 
2484 
2485  };
2486 
2488  class MatchAs
2489  {
2490  public:
2493 
2496 
2504 
2512 
2513  };
2514 
2537  {
2538  public:
2541 
2552 
2553  };
2554 
2557  {
2558  public:
2566 
2574 
2582 
2583  };
2584 
2587  {
2588  public:
2591 
2594 
2602 
2610 
2611  };
2612 
2615  {
2616  public:
2619 
2622 
2630 
2638 
2639  };
2640 
2643  {
2644  public:
2649 
2657 
2665 
2666  };
2667 
2669  class MatchVar
2670  {
2671  public:
2674 
2689 
2704 
2705  };
2706 
2711  {
2712  public:
2715 
2718 
2726 
2734 
2735  };
2736 
2738  class Mlhs
2739  {
2740  public:
2743 
2753 
2763 
2771 
2772  };
2773 
2775  class Module
2776  {
2777  public:
2780 
2785 
2793 
2801 
2809 
2810  };
2811 
2813  class Next
2814  {
2815  public:
2818 
2826 
2834 
2835  };
2836 
2838  class Nil
2839  {
2840  public:
2848 
2849  };
2850 
2852  class NthRef
2853  {
2854  public:
2857 
2865 
2866  };
2867 
2869  class Numblock
2870  {
2871  public:
2874 
2876  uint8_t numargs;
2877 
2880 
2888 
2896 
2904 
2905  };
2906 
2908  class OpAsgn
2909  {
2910  public:
2913 
2927 
2930 
2938 
2946 
2947  };
2948 
2950  class Optarg
2951  {
2952  public:
2955 
2958 
2966 
2974 
2982 
2983  };
2984 
2986  class Or
2987  {
2988  public:
2991 
2994 
3002 
3010 
3011  };
3012 
3014  class OrAsgn
3015  {
3016  public:
3019 
3022 
3030 
3038 
3039  };
3040 
3042  class Pair
3043  {
3044  public:
3047 
3050 
3061 
3072 
3073  };
3074 
3076  class Pin
3077  {
3078  public:
3081 
3089 
3097 
3098  };
3099 
3101  class Postexe
3102  {
3103  public:
3106 
3114 
3122 
3130 
3138 
3139  };
3140 
3142  class Preexe
3143  {
3144  public:
3147 
3155 
3163 
3171 
3179 
3180  };
3181 
3186  class Procarg0
3187  {
3188  public:
3195 
3205 
3215 
3223 
3224  };
3225 
3227  class Rational
3228  {
3229  public:
3232 
3240 
3248 
3249  };
3250 
3252  class Redo
3253  {
3254  public:
3262 
3263  };
3264 
3266  class Regexp
3267  {
3268  public:
3271 
3276 
3287 
3298 
3306 
3307  };
3308 
3310  class RegOpt
3311  {
3312  public:
3315 
3323 
3324  };
3325 
3327  class Rescue
3328  {
3329  public:
3332 
3335 
3340 
3350 
3360 
3361  };
3362 
3365  {
3366  public:
3371 
3376 
3379 
3387 
3397 
3407 
3415 
3416  };
3417 
3419  class Restarg
3420  {
3421  public:
3426 
3434 
3442 
3450 
3451  };
3452 
3454  class Retry
3455  {
3456  public:
3464 
3465  };
3466 
3468  class Return
3469  {
3470  public:
3473 
3481 
3489 
3490  };
3491 
3493  class SClass
3494  {
3495  public:
3500 
3503 
3511 
3519 
3527 
3535 
3536  };
3537 
3539  class Self_
3540  {
3541  public:
3549 
3550  };
3551 
3553  class Send
3554  {
3555  public:
3560 
3563 
3566 
3576 
3586 
3596 
3606 
3616 
3624 
3625  };
3626 
3629  {
3630  public:
3633 
3641 
3642  };
3643 
3645  class Splat
3646  {
3647  public:
3650 
3658 
3666 
3667  };
3668 
3670  class Str
3671  {
3672  public:
3684 
3694 
3704 
3712 
3713  };
3714 
3716  class Super
3717  {
3718  public:
3721 
3729 
3739 
3749 
3757 
3758  };
3759 
3763  class Sym
3764  {
3765  public:
3777 
3787 
3797 
3811 
3812  };
3813 
3815  class True
3816  {
3817  public:
3825 
3826  };
3827 
3829  class Undef
3830  {
3831  public:
3834 
3842 
3850 
3851  };
3852 
3855  {
3856  public:
3859 
3867 
3875 
3876  };
3877 
3879  class Until
3880  {
3881  public:
3884 
3889 
3897 
3907 
3917 
3928 
3929  };
3930 
3939  {
3940  public:
3943 
3946 
3954 
3962 
3963  };
3964 
3966  class When
3967  {
3968  public:
3971 
3974 
3982 
3992 
4000 
4001  };
4002 
4004  class While
4005  {
4006  public:
4009 
4014 
4022 
4032 
4042 
4053 
4054  };
4055 
4064  {
4065  public:
4068 
4071 
4079 
4087 
4088  };
4089 
4093  class XHeredoc
4094  {
4095  public:
4098 
4106 
4114 
4131 
4132  };
4133 
4135  class Xstr
4136  {
4137  public:
4140 
4151 
4162 
4173 
4174  };
4175 
4177  class Yield
4178  {
4179  public:
4182 
4190 
4200 
4210 
4218 
4219  };
4220 
4224  class ZSuper
4225  {
4226  public:
4234 
4235  };
4236 
4237 
4238  class Node {
4239  public:
4240  enum class Tag {
4241  ALIAS,
4242  AND,
4243  AND_ASGN,
4244  ARG,
4245  ARGS,
4246  ARRAY,
4247  ARRAY_PATTERN,
4249  BACK_REF,
4250  BEGIN,
4251  BLOCK,
4252  BLOCKARG,
4253  BLOCK_PASS,
4254  BREAK,
4255  CASE,
4256  CASE_MATCH,
4257  CASGN,
4258  CBASE,
4259  CLASS,
4260  COMPLEX,
4261  CONST,
4262  CONST_PATTERN,
4263  C_SEND,
4264  CVAR,
4265  CVASGN,
4266  DEF,
4267  DEFINED,
4268  DEFS,
4269  DSTR,
4270  DSYM,
4271  E_FLIP_FLOP,
4272  EMPTY_ELSE,
4273  ENCODING,
4274  ENSURE,
4275  ERANGE_,
4276  FALSE,
4277  FILE,
4278  FIND_PATTERN,
4279  FLOAT,
4280  FOR,
4281  FORWARD_ARG,
4283  GVAR,
4284  GVASGN,
4285  HASH,
4286  HASH_PATTERN,
4287  HEREDOC,
4288  IF,
4289  IF_GUARD,
4290  I_FLIP_FLOP,
4291  IF_MOD,
4292  IF_TERNARY,
4293  INDEX,
4294  INDEX_ASGN,
4295  IN_PATTERN,
4296  INT,
4297  IRANGE,
4298  IVAR,
4299  IVASGN,
4300  KWARG,
4301  KWARGS,
4302  KW_BEGIN,
4303  KWNILARG,
4304  KWOPTARG,
4305  KWRESTARG,
4306  KWSPLAT,
4307  LAMBDA,
4308  LINE,
4309  LVAR,
4310  LVASGN,
4311  MASGN,
4312  MATCH_ALT,
4313  MATCH_AS,
4316  MATCH_PATTERN,
4318  MATCH_REST,
4319  MATCH_VAR,
4321  MLHS,
4322  MODULE,
4323  NEXT,
4324  NIL,
4325  NTH_REF,
4326  NUMBLOCK,
4327  OP_ASGN,
4328  OPTARG,
4329  OR,
4330  OR_ASGN,
4331  PAIR,
4332  PIN,
4333  POSTEXE,
4334  PREEXE,
4335  PROCARG0,
4336  RATIONAL,
4337  REDO,
4338  REGEXP,
4339  REG_OPT,
4340  RESCUE,
4341  RESCUE_BODY,
4342  RESTARG,
4343  RETRY,
4344  RETURN,
4345  S_CLASS,
4346  SELF_,
4347  SEND,
4348  SHADOWARG,
4349  SPLAT,
4350  STR,
4351  SUPER,
4352  SYM,
4353  TRUE,
4354  UNDEF,
4355  UNLESS_GUARD,
4356  UNTIL,
4357  UNTIL_POST,
4358  WHEN,
4359  WHILE,
4360  WHILE_POST,
4361  X_HEREDOC,
4362  XSTR,
4363  YIELD,
4364  Z_SUPER,
4365  };
4366 
4367  union Value {
4492 
4493  Value(Value &&);
4494  ~Value();
4495 
4496  Value &operator=(Value &&);
4497  };
4498 
4501 
4502  Node(Node &&);
4503  ~Node();
4504 
4505  Node &operator=(Node &&);
4506  };
4507 } // namespace lib_ruby_parser
4508 
4509 #endif // LIB_RUBY_PARSER_NODES_HPP
lib_ruby_parser::Splat::expression_l
Loc expression_l
Definition: nodes.hpp:3665
lib_ruby_parser::MatchPatternP::pattern
Node * pattern
Pattern that is used for matching.
Definition: nodes.hpp:2621
lib_ruby_parser::Node::Value::while_
While while_
Definition: nodes.hpp:4486
lib_ruby_parser::Class::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:712
lib_ruby_parser::Node::Tag::NEXT
@ NEXT
lib_ruby_parser::Node::Tag::MASGN
@ MASGN
lib_ruby_parser::Restarg::name_l
MaybeLoc name_l
Definition: nodes.hpp:3441
lib_ruby_parser::RescueBody::body
Node * body
Body of the handler.
Definition: nodes.hpp:3378
lib_ruby_parser::MatchVar::name_l
Loc name_l
Definition: nodes.hpp:2688
lib_ruby_parser::ConstPattern
Const pattern used in pattern matching (e.g. in A(1, 2))
Definition: nodes.hpp:799
lib_ruby_parser::Regexp::options
Node * options
Definition: nodes.hpp:3275
lib_ruby_parser::Loc
Loc struct from lib-ruby-parser
Definition: loc.hpp:12
lib_ruby_parser::Super::expression_l
Loc expression_l
Definition: nodes.hpp:3756
lib_ruby_parser::Rescue::body
Node * body
Body of the block that is wrapped into rescue (i.e. the part that may throw an error)
Definition: nodes.hpp:3331
lib_ruby_parser::BackRef
Definition: nodes.hpp:301
lib_ruby_parser::Cvasgn::name
String name
Name of the class variable, String("@@foo") for @@foo = 1
Definition: nodes.hpp:935
lib_ruby_parser::Yield::expression_l
Loc expression_l
Definition: nodes.hpp:4217
lib_ruby_parser::Node::Tag::KWSPLAT
@ KWSPLAT
lib_ruby_parser::Node::Tag::BLOCK
@ BLOCK
lib_ruby_parser::Node::Tag::S_CLASS
@ S_CLASS
lib_ruby_parser::WhilePost
Definition: nodes.hpp:4063
lib_ruby_parser::ConstPattern::const_
Node * const_
Constant that is used, Const("Foo") for in For(42)
Definition: nodes.hpp:803
lib_ruby_parser::Rescue
Represents a rescue block.
Definition: nodes.hpp:3327
lib_ruby_parser::Node::Tag::MLHS
@ MLHS
lib_ruby_parser::Kwoptarg::expression_l
Loc expression_l
Definition: nodes.hpp:2272
lib_ruby_parser::IndexAsgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:1980
lib_ruby_parser::Next::args
NodeList args
Arguments given to next
Definition: nodes.hpp:2817
lib_ruby_parser::Hash::pairs
NodeList pairs
A list of key-value pairs.
Definition: nodes.hpp:1596
lib_ruby_parser::Defs::name_l
Loc name_l
Definition: nodes.hpp:1112
lib_ruby_parser::Node::Tag::IRANGE
@ IRANGE
lib_ruby_parser::Mlhs::expression_l
Loc expression_l
Definition: nodes.hpp:2770
lib_ruby_parser::True
Represents a true literal.
Definition: nodes.hpp:3815
lib_ruby_parser::Kwrestarg::name
MaybeString name
Definition: nodes.hpp:2283
lib_ruby_parser::MatchAlt::expression_l
Loc expression_l
Definition: nodes.hpp:2483
lib_ruby_parser::Break
Represents a break keyword (with optional argument)
Definition: nodes.hpp:470
lib_ruby_parser::Node::Tag::INDEX_ASGN
@ INDEX_ASGN
lib_ruby_parser::Node::Value::empty_else
EmptyElse empty_else
Definition: nodes.hpp:4399
lib_ruby_parser::Alias::to
Node * to
Definition: nodes.hpp:40
lib_ruby_parser::Node::Value::x_heredoc
XHeredoc x_heredoc
Definition: nodes.hpp:4488
lib_ruby_parser::Erange::right
Node * right
End of the range, None if range has no end (i.e 42...)
Definition: nodes.hpp:1335
lib_ruby_parser::Kwoptarg::default_
Node * default_
Default value of the optional keyword argument.
Definition: nodes.hpp:2256
lib_ruby_parser::Int::value
String value
String value of the literal, String("42") for 42
Definition: nodes.hpp:2038
lib_ruby_parser::Node::Value::rescue_body
RescueBody rescue_body
Definition: nodes.hpp:4468
lib_ruby_parser::Node::Tag::IF_MOD
@ IF_MOD
lib_ruby_parser::When::begin_l
Loc begin_l
Definition: nodes.hpp:3991
lib_ruby_parser::Node::Value::nth_ref
NthRef nth_ref
Definition: nodes.hpp:4452
lib_ruby_parser::Str::end_l
MaybeLoc end_l
Definition: nodes.hpp:3703
lib_ruby_parser::Float::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:1435
lib_ruby_parser::Node::Tag::LAMBDA
@ LAMBDA
lib_ruby_parser::Dsym::expression_l
Loc expression_l
Definition: nodes.hpp:1227
lib_ruby_parser::ArrayPatternWithTail::elements
NodeList elements
A list of elements.
Definition: nodes.hpp:264
lib_ruby_parser::Node::Value::complex
Complex complex
Definition: nodes.hpp:4387
lib_ruby_parser::Node::Tag::ARRAY_PATTERN
@ ARRAY_PATTERN
lib_ruby_parser::IfTernary::if_true
Node * if_true
True-branch.
Definition: nodes.hpp:1872
lib_ruby_parser::Node::Tag::RATIONAL
@ RATIONAL
lib_ruby_parser::Int
Represents an integer literal (i.e. 42)
Definition: nodes.hpp:2034
lib_ruby_parser::IfTernary
Represents ternary if statement (i.e. cond ? if_true : if_false)
Definition: nodes.hpp:1865
lib_ruby_parser::MatchRest::expression_l
Loc expression_l
Definition: nodes.hpp:2664
lib_ruby_parser::Node::Tag::NUMBLOCK
@ NUMBLOCK
lib_ruby_parser::XHeredoc::heredoc_body_l
Loc heredoc_body_l
Definition: nodes.hpp:4105
lib_ruby_parser::Send::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3595
lib_ruby_parser::Array::elements
NodeList elements
A list of elements.
Definition: nodes.hpp:192
lib_ruby_parser::Optarg
Represents optional positional argument (i.e. foo in m(foo = 1))
Definition: nodes.hpp:2950
lib_ruby_parser::Node::Value::or_
Or or_
Definition: nodes.hpp:4456
lib_ruby_parser::Rational::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:3239
lib_ruby_parser::Node::Tag::IVAR
@ IVAR
lib_ruby_parser::Irange
Represents inclusive range (i.e. 2..4)
Definition: nodes.hpp:2059
lib_ruby_parser::For::iterator
Node * iterator
Variable that is used in loop, Lvasgn("a") in for a in b; end
Definition: nodes.hpp:1452
lib_ruby_parser::Cvar
Represents access to class variable (i.e. @@var)
Definition: nodes.hpp:914
lib_ruby_parser::Float::value
String value
String value of the literal, String("42.5") for 42.5
Definition: nodes.hpp:1427
lib_ruby_parser::Lambda::expression_l
Loc expression_l
Definition: nodes.hpp:2350
lib_ruby_parser::Ensure
Represents a block of code with ensure (i.e. begin; ensure; end)
Definition: nodes.hpp:1293
lib_ruby_parser::Node::Tag::OP_ASGN
@ OP_ASGN
lib_ruby_parser::Node::Value::and_
And and_
Definition: nodes.hpp:4369
lib_ruby_parser::Node::Value::file
File file
Definition: nodes.hpp:4404
lib_ruby_parser::Hash::expression_l
Loc expression_l
Definition: nodes.hpp:1624
lib_ruby_parser::When::keyword_l
Loc keyword_l
Definition: nodes.hpp:3981
lib_ruby_parser::Node::Tag::UNLESS_GUARD
@ UNLESS_GUARD
lib_ruby_parser::Node::Tag::IF_GUARD
@ IF_GUARD
lib_ruby_parser::For::operator_l
Loc operator_l
Definition: nodes.hpp:1474
lib_ruby_parser::Def::body
Node * body
Body of a method, None if there's no body.
Definition: nodes.hpp:979
lib_ruby_parser::Node::Value::block
Block block
Definition: nodes.hpp:4378
lib_ruby_parser::Node::Value::c_send
CSend c_send
Definition: nodes.hpp:4390
lib_ruby_parser::Node::Value::heredoc
Heredoc heredoc
Definition: nodes.hpp:4414
lib_ruby_parser::MatchRest::name
Node * name
Definition: nodes.hpp:2648
lib_ruby_parser::CaseMatch::else_body
Node * else_body
Body of the else branch, None if there's no else branch.
Definition: nodes.hpp:568
lib_ruby_parser::Alias
Represents alias to from statement.
Definition: nodes.hpp:34
lib_ruby_parser::SClass::keyword_l
Loc keyword_l
Definition: nodes.hpp:3510
lib_ruby_parser::Node::Value::self_
Self_ self_
Definition: nodes.hpp:4473
lib_ruby_parser::When::patterns
NodeList patterns
A list of values to compare/match against.
Definition: nodes.hpp:3970
lib_ruby_parser::EFlipFlop::left
Node * left
Left part of the flip-flop. None if based on a range without begin (...bar)
Definition: nodes.hpp:1236
lib_ruby_parser::Node::Tag::FIND_PATTERN
@ FIND_PATTERN
lib_ruby_parser::Yield::keyword_l
Loc keyword_l
Definition: nodes.hpp:4189
lib_ruby_parser::Rescue::else_l
MaybeLoc else_l
Definition: nodes.hpp:3349
lib_ruby_parser::Defined::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1050
lib_ruby_parser::Node::Tag::CVASGN
@ CVASGN
lib_ruby_parser::Node::Tag::CVAR
@ CVAR
lib_ruby_parser::Node::Tag::POSTEXE
@ POSTEXE
lib_ruby_parser::Class::keyword_l
Loc keyword_l
Definition: nodes.hpp:702
lib_ruby_parser::MatchPattern::expression_l
Loc expression_l
Definition: nodes.hpp:2609
lib_ruby_parser::SClass::body
Node * body
Body of the block.
Definition: nodes.hpp:3502
lib_ruby_parser::IfMod::expression_l
Loc expression_l
Definition: nodes.hpp:1860
lib_ruby_parser::Node::Value
Definition: nodes.hpp:4367
lib_ruby_parser::MatchAs::as
Node * as
Variable that is assigned if matched (see MatchVar node)
Definition: nodes.hpp:2495
lib_ruby_parser::Def::expression_l
Loc expression_l
Definition: nodes.hpp:1023
lib_ruby_parser::Node::Value::false_
False false_
Definition: nodes.hpp:4403
lib_ruby_parser::XHeredoc::parts
NodeList parts
A list of string parts (static literals and interpolated expressions)
Definition: nodes.hpp:4097
lib_ruby_parser::Def::assignment_l
MaybeLoc assignment_l
Definition: nodes.hpp:1015
lib_ruby_parser::Node::operator=
Node & operator=(Node &&)
lib_ruby_parser::Class::expression_l
Loc expression_l
Definition: nodes.hpp:728
lib_ruby_parser::Node::Value::masgn
Masgn masgn
Definition: nodes.hpp:4438
lib_ruby_parser::Kwrestarg::operator_l
Loc operator_l
Definition: nodes.hpp:2291
lib_ruby_parser::Send
Represents a method call (e.g. foo.bar(42))
Definition: nodes.hpp:3553
lib_ruby_parser::XHeredoc::expression_l
Loc expression_l
Definition: nodes.hpp:4130
lib_ruby_parser::AndAsgn::operator_l
Loc operator_l
Definition: nodes.hpp:117
lib_ruby_parser::ArrayPattern
Represents an array pattern used in pattern matching.
Definition: nodes.hpp:221
lib_ruby_parser::Node::Tag::LVASGN
@ LVASGN
lib_ruby_parser::Node::Tag::WHILE_POST
@ WHILE_POST
lib_ruby_parser::Numblock
Represents a block that takes numbered parameters (i.e. proc { _1 })
Definition: nodes.hpp:2869
lib_ruby_parser::Next
Represents next keyword.
Definition: nodes.hpp:2813
lib_ruby_parser::ArrayPatternWithTail
Definition: nodes.hpp:260
lib_ruby_parser::Super
Represents a super keyword.
Definition: nodes.hpp:3716
lib_ruby_parser::Node::Value::alias
Alias alias
Definition: nodes.hpp:4368
lib_ruby_parser::For
Represents a for loop.
Definition: nodes.hpp:1448
lib_ruby_parser::ArrayPatternWithTail::expression_l
Loc expression_l
Definition: nodes.hpp:292
lib_ruby_parser::Node::Value::shadowarg
Shadowarg shadowarg
Definition: nodes.hpp:4475
lib_ruby_parser::Node::Value::op_asgn
OpAsgn op_asgn
Definition: nodes.hpp:4454
lib_ruby_parser::Preexe::end_l
Loc end_l
Definition: nodes.hpp:3170
lib_ruby_parser::Node::Tag::PIN
@ PIN
lib_ruby_parser::Node::Value::kwrestarg
Kwrestarg kwrestarg
Definition: nodes.hpp:4432
lib_ruby_parser::Node::Tag::MATCH_CURRENT_LINE
@ MATCH_CURRENT_LINE
lib_ruby_parser::Defined::expression_l
Loc expression_l
Definition: nodes.hpp:1068
lib_ruby_parser::XHeredoc
Definition: nodes.hpp:4093
lib_ruby_parser::Node::Value::redo
Redo redo
Definition: nodes.hpp:4464
lib_ruby_parser::Shadowarg::expression_l
Loc expression_l
Definition: nodes.hpp:3640
lib_ruby_parser::MatchAlt::operator_l
Loc operator_l
Definition: nodes.hpp:2475
lib_ruby_parser::Mlhs::items
NodeList items
A list of items that are assigned.
Definition: nodes.hpp:2742
lib_ruby_parser::Node::Value::match_with_lvasgn
MatchWithLvasgn match_with_lvasgn
Definition: nodes.hpp:4447
lib_ruby_parser::Node::Tag::ARGS
@ ARGS
lib_ruby_parser::Block::end_l
Loc end_l
Definition: nodes.hpp:397
lib_ruby_parser::Next::expression_l
Loc expression_l
Definition: nodes.hpp:2833
lib_ruby_parser::Node::Value::in_pattern
InPattern in_pattern
Definition: nodes.hpp:4422
lib_ruby_parser::FindPattern::end_l
MaybeLoc end_l
Definition: nodes.hpp:1410
lib_ruby_parser::Node::Value::begin
Begin begin
Definition: nodes.hpp:4377
lib_ruby_parser::Gvasgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:1579
lib_ruby_parser::Super::args
NodeList args
A list of arguments given to super
Definition: nodes.hpp:3720
lib_ruby_parser::Sym::end_l
MaybeLoc end_l
Definition: nodes.hpp:3796
lib_ruby_parser::Node::tag
Tag tag
Definition: nodes.hpp:4499
lib_ruby_parser::Lvasgn::name
String name
Name of the local variable.
Definition: nodes.hpp:2397
lib_ruby_parser::Casgn
Represents a constant assignment (i.e. A = 1)
Definition: nodes.hpp:607
lib_ruby_parser::Yield::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:4199
lib_ruby_parser::Ensure::ensure
Node * ensure
Definition: nodes.hpp:1305
lib_ruby_parser::Defs::keyword_l
Loc keyword_l
Definition: nodes.hpp:1096
lib_ruby_parser::BackRef::name
String name
Name of the variable ("$+" for $+)
Definition: nodes.hpp:305
lib_ruby_parser::MatchWithLvasgn::expression_l
Loc expression_l
Definition: nodes.hpp:2733
lib_ruby_parser::MatchRest
Represents a wildcard pattern used in pattern matching (i.e. in *foo)
Definition: nodes.hpp:2642
lib_ruby_parser::UntilPost::body
Node * body
Body of the loop.
Definition: nodes.hpp:3945
lib_ruby_parser::KwBegin::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:2206
lib_ruby_parser::Bytes
Rerpresentation of Bytes struct from lib-ruby-parser.
Definition: bytes.hpp:46
lib_ruby_parser::Splat
Represents an arguments splat (i.e. *bar in a call like foo(*bar))
Definition: nodes.hpp:3645
lib_ruby_parser::For::body
Node * body
Body of the loop. None if there's no body.
Definition: nodes.hpp:1458
lib_ruby_parser::Node::Tag::BLOCK_PASS
@ BLOCK_PASS
lib_ruby_parser::HashPattern::end_l
MaybeLoc end_l
Definition: nodes.hpp:1653
lib_ruby_parser::Masgn::lhs
Node * lhs
Left hand statement of the assignment.
Definition: nodes.hpp:2436
lib_ruby_parser::Node::Tag::ENCODING
@ ENCODING
lib_ruby_parser::Node::Tag::MATCH_PATTERN
@ MATCH_PATTERN
lib_ruby_parser::Procarg0::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3204
lib_ruby_parser::Lvasgn
Represents local variable assignment (i.e. foo = 42)
Definition: nodes.hpp:2393
lib_ruby_parser::BackRef::expression_l
Loc expression_l
Definition: nodes.hpp:313
lib_ruby_parser::Node::Tag::KWNILARG
@ KWNILARG
lib_ruby_parser::Node::Tag::FLOAT
@ FLOAT
lib_ruby_parser::Complex
Represents a Complex literal (that returns an Complex number)
Definition: nodes.hpp:733
lib_ruby_parser::Rescue::rescue_bodies
NodeList rescue_bodies
A list of rescue handlers (see RescueBody node)
Definition: nodes.hpp:3334
lib_ruby_parser::Nil
Represents nil literal.
Definition: nodes.hpp:2838
lib_ruby_parser::ForwardArg::expression_l
Loc expression_l
Definition: nodes.hpp:1514
lib_ruby_parser::Ensure::body
Node * body
Definition: nodes.hpp:1300
lib_ruby_parser::Node::Tag::REDO
@ REDO
lib_ruby_parser::Node::Value::procarg0
Procarg0 procarg0
Definition: nodes.hpp:4462
lib_ruby_parser::UntilPost::keyword_l
Loc keyword_l
Definition: nodes.hpp:3953
lib_ruby_parser::Node::Value::gvar
Gvar gvar
Definition: nodes.hpp:4410
lib_ruby_parser::Def::name
String name
Name of the method, String("foo") for def foo; end
Definition: nodes.hpp:971
lib_ruby_parser::Send::method_name
String method_name
Name of the method that is called.
Definition: nodes.hpp:3562
lib_ruby_parser::Node::Value::when
When when
Definition: nodes.hpp:4485
lib_ruby_parser::Node::Value::arg
Arg arg
Definition: nodes.hpp:4371
lib_ruby_parser::Alias::expression_l
Loc expression_l
Definition: nodes.hpp:61
lib_ruby_parser::Procarg0::end_l
MaybeLoc end_l
Definition: nodes.hpp:3214
lib_ruby_parser::Node::Value::match_alt
MatchAlt match_alt
Definition: nodes.hpp:4439
lib_ruby_parser::Self_
Represents self keyword.
Definition: nodes.hpp:3539
lib_ruby_parser::Node::Tag::FALSE
@ FALSE
lib_ruby_parser::Next::keyword_l
Loc keyword_l
Definition: nodes.hpp:2825
lib_ruby_parser::Node::Tag::SUPER
@ SUPER
lib_ruby_parser::Node::Value::restarg
Restarg restarg
Definition: nodes.hpp:4469
lib_ruby_parser::Kwarg::expression_l
Loc expression_l
Definition: nodes.hpp:2166
lib_ruby_parser::MatchAs::value
Node * value
Pattern that is used for matching.
Definition: nodes.hpp:2492
lib_ruby_parser::Return::expression_l
Loc expression_l
Definition: nodes.hpp:3488
lib_ruby_parser::Const::name
String name
Name of the constant, String("Foo") for Foo
Definition: nodes.hpp:770
lib_ruby_parser::Ivasgn::value
Node * value
Definition: nodes.hpp:2114
lib_ruby_parser::Node::Tag::ARG
@ ARG
lib_ruby_parser::Args::end_l
MaybeLoc end_l
Definition: nodes.hpp:183
lib_ruby_parser::Node::Tag::AND
@ AND
lib_ruby_parser::MatchVar
Represents matching with assignment into a local variable (i.e. pattern => var)
Definition: nodes.hpp:2669
lib_ruby_parser::UnlessGuard::keyword_l
Loc keyword_l
Definition: nodes.hpp:3866
lib_ruby_parser::Class
Represents a class definition (using a class keyword, Class.new is just a method call)
Definition: nodes.hpp:682
lib_ruby_parser::Node::Tag::DEFS
@ DEFS
lib_ruby_parser::Node::Value::forward_arg
ForwardArg forward_arg
Definition: nodes.hpp:4408
lib_ruby_parser::Node::Tag::REG_OPT
@ REG_OPT
lib_ruby_parser::Node::Value::super
Super super
Definition: nodes.hpp:4478
lib_ruby_parser::Const::expression_l
Loc expression_l
Definition: nodes.hpp:794
lib_ruby_parser::Class::body
Node * body
Body of the method, None if there's no body.
Definition: nodes.hpp:694
lib_ruby_parser::MatchPatternP::expression_l
Loc expression_l
Definition: nodes.hpp:2637
lib_ruby_parser::Kwsplat
Represents a keyword arguments splat (i.e. **bar in a call like foo(**bar))
Definition: nodes.hpp:2314
lib_ruby_parser::Node::Tag::C_SEND
@ C_SEND
lib_ruby_parser::Lvar::name
String name
Name of the local variable.
Definition: nodes.hpp:2380
lib_ruby_parser::NodeList::NodeList
NodeList()=delete
lib_ruby_parser::Node::Value::array_pattern_with_tail
ArrayPatternWithTail array_pattern_with_tail
Definition: nodes.hpp:4375
lib_ruby_parser::Node::Value::kwarg
Kwarg kwarg
Definition: nodes.hpp:4427
lib_ruby_parser::Node::Tag
Tag
Definition: nodes.hpp:4240
lib_ruby_parser::Node::Value::defined
Defined defined
Definition: nodes.hpp:4394
lib_ruby_parser::Class::name
Node * name
Name of the class, String("Foo") for class Foo; end
Definition: nodes.hpp:686
lib_ruby_parser::Or::expression_l
Loc expression_l
Definition: nodes.hpp:3009
lib_ruby_parser::Node::Tag::DSTR
@ DSTR
lib_ruby_parser::Const::scope
Node * scope
Definition: nodes.hpp:767
lib_ruby_parser::IfMod
Represents an if/unless modifier (i.e. stmt if cond)
Definition: nodes.hpp:1822
lib_ruby_parser::Def::end_l
MaybeLoc end_l
Definition: nodes.hpp:1005
lib_ruby_parser::InPattern::begin_l
Loc begin_l
Definition: nodes.hpp:2021
lib_ruby_parser::CSend::recv
Node * recv
Receiver of the method call, Int("1") for 1&.foo
Definition: nodes.hpp:841
lib_ruby_parser::Node::Value::nil
Nil nil
Definition: nodes.hpp:4451
lib_ruby_parser::Alias::from
Node * from
Definition: nodes.hpp:45
lib_ruby_parser::SClass
Represents opening a singleton class (i.e. class << foo; ... end;)
Definition: nodes.hpp:3493
lib_ruby_parser::Procarg0
Definition: nodes.hpp:3186
lib_ruby_parser::KwBegin::end_l
MaybeLoc end_l
Definition: nodes.hpp:2214
lib_ruby_parser::Ivar::name
String name
Name of the instance variable, String("@foo") in @foo
Definition: nodes.hpp:2091
lib_ruby_parser::For::end_l
Loc end_l
Definition: nodes.hpp:1492
lib_ruby_parser::Defs::definee
Node * definee
Definee of a method definition, Lvar("x") for def x.foo; end
Definition: nodes.hpp:1077
lib_ruby_parser::Node::Tag::INDEX
@ INDEX
lib_ruby_parser::Irange::right
Node * right
End of the range, None if range has no end (i.e. 2..)
Definition: nodes.hpp:2066
lib_ruby_parser::Node::Value::lvasgn
Lvasgn lvasgn
Definition: nodes.hpp:4437
lib_ruby_parser::Node::Value::e_flip_flop
EFlipFlop e_flip_flop
Definition: nodes.hpp:4398
lib_ruby_parser::Dsym
Represents a symbol with interpolation (i.e. :"#{foo}")
Definition: nodes.hpp:1187
lib_ruby_parser::Ivasgn::name_l
Loc name_l
Definition: nodes.hpp:2122
lib_ruby_parser::ForwardArg
Represents a special ... argument that forwards positional/keyword/block arguments.
Definition: nodes.hpp:1505
lib_ruby_parser::Undef::keyword_l
Loc keyword_l
Definition: nodes.hpp:3841
lib_ruby_parser::Kwoptarg
Represents an optional keyword argument (i.e. foo in def m(foo: 42); end)
Definition: nodes.hpp:2249
lib_ruby_parser::Lvar::expression_l
Loc expression_l
Definition: nodes.hpp:2388
lib_ruby_parser::Restarg
Represents positional rest argument (i.e. *foo in def m(*foo); end)
Definition: nodes.hpp:3419
lib_ruby_parser::Node::Tag::CASE
@ CASE
lib_ruby_parser::Hash
Represents a hash literal (i.e. { foo: 42 })
Definition: nodes.hpp:1592
lib_ruby_parser::Hash::end_l
MaybeLoc end_l
Definition: nodes.hpp:1616
lib_ruby_parser::Or::rhs
Node * rhs
Right hand statement.
Definition: nodes.hpp:2993
lib_ruby_parser::Float::expression_l
Loc expression_l
Definition: nodes.hpp:1443
lib_ruby_parser::RescueBody::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3406
lib_ruby_parser::OrAsgn::recv
Node * recv
Left hand statement.
Definition: nodes.hpp:3018
lib_ruby_parser::Node::Value::irange
Irange irange
Definition: nodes.hpp:4424
lib_ruby_parser::Node::Value::ivasgn
Ivasgn ivasgn
Definition: nodes.hpp:4426
lib_ruby_parser::Block::body
Node * body
Block body, None if block has no body.
Definition: nodes.hpp:381
lib_ruby_parser::HashPattern
Represents a hash pattern used in pattern matching (i.e. in { a: 1 })
Definition: nodes.hpp:1629
lib_ruby_parser::RegOpt::options
MaybeString options
A list of flags.
Definition: nodes.hpp:3314
lib_ruby_parser::UntilPost::cond
Node * cond
Condition of the loop.
Definition: nodes.hpp:3942
lib_ruby_parser::Blockarg
Represents a &blk argument in the method definition (but not in the method call, see BlockPass)
Definition: nodes.hpp:410
lib_ruby_parser::Node::Tag::UNTIL_POST
@ UNTIL_POST
lib_ruby_parser::MatchAlt::rhs
Node * rhs
Right pattern.
Definition: nodes.hpp:2467
lib_ruby_parser::RescueBody::exc_var
Node * exc_var
Definition: nodes.hpp:3375
lib_ruby_parser::Node::Value::cvar
Cvar cvar
Definition: nodes.hpp:4391
lib_ruby_parser::CaseMatch
Represents a case statement used for pattern matching (for regular case see Case node)
Definition: nodes.hpp:551
lib_ruby_parser::Node::Tag::EMPTY_ELSE
@ EMPTY_ELSE
lib_ruby_parser::IndexAsgn
Represents assignment using indexing operation (i.e. foo[1, 2, 3] = bar)
Definition: nodes.hpp:1940
lib_ruby_parser::Node::Value::lambda
Lambda lambda
Definition: nodes.hpp:4434
lib_ruby_parser::MatchVar::name
String name
Name of the variable that is assigned if matching succeeds.
Definition: nodes.hpp:2673
lib_ruby_parser::Dsym::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1205
lib_ruby_parser::While::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:4031
lib_ruby_parser::File::expression_l
Loc expression_l
Definition: nodes.hpp:1379
lib_ruby_parser::HashPattern::elements
NodeList elements
A list of inner patterns.
Definition: nodes.hpp:1633
lib_ruby_parser::Masgn
Represents mass-assignment (i.e. foo, bar = 1, 2)
Definition: nodes.hpp:2432
lib_ruby_parser::Node::Tag::OPTARG
@ OPTARG
lib_ruby_parser::Shadowarg::name
String name
Name of the argument.
Definition: nodes.hpp:3632
lib_ruby_parser::Gvar::name
String name
Name of the global variable, String("$foo") for $foo
Definition: nodes.hpp:1537
lib_ruby_parser::Block::call
Node * call
Definition: nodes.hpp:371
lib_ruby_parser::Node::Value::blockarg
Blockarg blockarg
Definition: nodes.hpp:4379
lib_ruby_parser::Node::Value::back_ref
BackRef back_ref
Definition: nodes.hpp:4376
lib_ruby_parser::Dsym::parts
NodeList parts
A list of symbol parts (static literals and interpolated expressions)
Definition: nodes.hpp:1191
lib_ruby_parser::Ivasgn::name
String name
Name of the instance variable, String("@foo") in @foo = 42
Definition: nodes.hpp:2108
lib_ruby_parser::Postexe::keyword_l
Loc keyword_l
Definition: nodes.hpp:3113
lib_ruby_parser::CSend::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:901
lib_ruby_parser::Str::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3693
lib_ruby_parser::RegOpt
Represents flags of the regex literal (i.e. mix for /foo/mix)
Definition: nodes.hpp:3310
lib_ruby_parser::Node::Value::match_current_line
MatchCurrentLine match_current_line
Definition: nodes.hpp:4441
lib_ruby_parser::Node::Value::forwarded_args
ForwardedArgs forwarded_args
Definition: nodes.hpp:4409
lib_ruby_parser::Optarg::name_l
Loc name_l
Definition: nodes.hpp:2965
lib_ruby_parser::Kwargs::pairs
NodeList pairs
A list of key-value pairs.
Definition: nodes.hpp:2175
lib_ruby_parser::Pair::value
Node * value
Value of the pair.
Definition: nodes.hpp:3049
lib_ruby_parser::CaseMatch::in_bodies
NodeList in_bodies
A list of InPattern nodes (each has pattern, guard and body)
Definition: nodes.hpp:565
lib_ruby_parser::Node::Tag::FORWARD_ARG
@ FORWARD_ARG
lib_ruby_parser::Node::Value::while_post
WhilePost while_post
Definition: nodes.hpp:4487
lib_ruby_parser::Sym::name
Bytes name
Definition: nodes.hpp:3776
lib_ruby_parser::CaseMatch::expr
Node * expr
Definition: nodes.hpp:562
lib_ruby_parser::Block
Represents a Ruby block that is passed to a method (proc { |foo| bar })
Definition: nodes.hpp:365
lib_ruby_parser::RescueBody::assoc_l
MaybeLoc assoc_l
Definition: nodes.hpp:3396
lib_ruby_parser::Node::Value::str
Str str
Definition: nodes.hpp:4477
lib_ruby_parser::Node::Tag::PREEXE
@ PREEXE
lib_ruby_parser::Arg
Definition: nodes.hpp:132
lib_ruby_parser::MatchPattern
Represents a one-line pattern matching that can throw an error (i.e. foo => pattern)
Definition: nodes.hpp:2586
lib_ruby_parser::Casgn::expression_l
Loc expression_l
Definition: nodes.hpp:663
lib_ruby_parser::Node::Tag::KWARG
@ KWARG
lib_ruby_parser::Index::indexes
NodeList indexes
A list of indexes.
Definition: nodes.hpp:1911
lib_ruby_parser::UntilPost
Definition: nodes.hpp:3938
lib_ruby_parser::Node::Value::regexp
Regexp regexp
Definition: nodes.hpp:4465
lib_ruby_parser::Redo
Represents redo keyword.
Definition: nodes.hpp:3252
lib_ruby_parser::Node::Value::gvasgn
Gvasgn gvasgn
Definition: nodes.hpp:4411
lib_ruby_parser::Complex::expression_l
Loc expression_l
Definition: nodes.hpp:755
lib_ruby_parser::Kwrestarg
Represents a keyword rest argument (i.e. foo in def m(**foo); end)
Definition: nodes.hpp:2277
lib_ruby_parser::Node::Value::class_
Class class_
Definition: nodes.hpp:4386
lib_ruby_parser::WhilePost::keyword_l
Loc keyword_l
Definition: nodes.hpp:4078
lib_ruby_parser::ConstPattern::expression_l
Loc expression_l
Definition: nodes.hpp:832
lib_ruby_parser::Def::keyword_l
Loc keyword_l
Definition: nodes.hpp:987
lib_ruby_parser::Super::end_l
MaybeLoc end_l
Definition: nodes.hpp:3748
lib_ruby_parser::Send::recv
Node * recv
Definition: nodes.hpp:3559
lib_ruby_parser::Node::Value::kwnilarg
Kwnilarg kwnilarg
Definition: nodes.hpp:4430
lib_ruby_parser::Node::Tag::FORWARDED_ARGS
@ FORWARDED_ARGS
lib_ruby_parser::Node::Node
Node(Node &&)
lib_ruby_parser::CSend::selector_l
MaybeLoc selector_l
Definition: nodes.hpp:871
lib_ruby_parser::Node::Value::case_
Case case_
Definition: nodes.hpp:4382
lib_ruby_parser::Const
Represents constant access (i.e. Foo::Bar)
Definition: nodes.hpp:760
lib_ruby_parser::Node::Tag::REGEXP
@ REGEXP
lib_ruby_parser::Mlhs::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:2752
lib_ruby_parser::Array::end_l
MaybeLoc end_l
Definition: nodes.hpp:208
string.hpp
lib_ruby_parser::Node::Value::block_pass
BlockPass block_pass
Definition: nodes.hpp:4380
lib_ruby_parser::Node::Tag::GVASGN
@ GVASGN
lib_ruby_parser::Case::when_bodies
NodeList when_bodies
A list of When nodes (each has patterns and body)
Definition: nodes.hpp:509
lib_ruby_parser::Node::Tag::PAIR
@ PAIR
lib_ruby_parser::Node::Value::float_
Float float_
Definition: nodes.hpp:4406
lib_ruby_parser::Masgn::rhs
Node * rhs
Left hand statement of the assignment.
Definition: nodes.hpp:2439
lib_ruby_parser::BlockPass::expression_l
Loc expression_l
Definition: nodes.hpp:465
lib_ruby_parser::Kwarg::name
String name
Name of the keyword argument.
Definition: nodes.hpp:2150
lib_ruby_parser::Defs::expression_l
Loc expression_l
Definition: nodes.hpp:1140
lib_ruby_parser::IfMod::if_true
Node * if_true
Definition: nodes.hpp:1832
lib_ruby_parser::Block::begin_l
Loc begin_l
Definition: nodes.hpp:389
lib_ruby_parser::BlockPass::value
Node * value
Definition: nodes.hpp:449
lib_ruby_parser::Node::Tag::MATCH_REST
@ MATCH_REST
lib_ruby_parser::Module::expression_l
Loc expression_l
Definition: nodes.hpp:2808
lib_ruby_parser::If
Represents an if statement (i.e. if foo; bar; else; baz; end)
Definition: nodes.hpp:1710
lib_ruby_parser::For::begin_l
Loc begin_l
Definition: nodes.hpp:1484
lib_ruby_parser::MatchAs
Represents matching with renaming into specified local variable (i.e. case 1; in Integer => a; end)
Definition: nodes.hpp:2488
lib_ruby_parser::Heredoc::heredoc_end_l
Loc heredoc_end_l
Definition: nodes.hpp:1688
lib_ruby_parser::OpAsgn::operator_l
Loc operator_l
Definition: nodes.hpp:2937
lib_ruby_parser::Module::name
Node * name
Name of the module.
Definition: nodes.hpp:2779
lib_ruby_parser::While::keyword_l
Loc keyword_l
Definition: nodes.hpp:4021
lib_ruby_parser::UnlessGuard::expression_l
Loc expression_l
Definition: nodes.hpp:3874
lib_ruby_parser::Send::end_l
MaybeLoc end_l
Definition: nodes.hpp:3605
lib_ruby_parser::IndexAsgn::end_l
Loc end_l
Definition: nodes.hpp:1969
lib_ruby_parser::Splat::operator_l
Loc operator_l
Definition: nodes.hpp:3657
lib_ruby_parser::Args
Definition: nodes.hpp:151
lib_ruby_parser::Redo::expression_l
Loc expression_l
Definition: nodes.hpp:3261
lib_ruby_parser::Ivasgn::expression_l
Loc expression_l
Definition: nodes.hpp:2141
lib_ruby_parser::Node::Tag::ARRAY
@ ARRAY
lib_ruby_parser::Dstr::end_l
MaybeLoc end_l
Definition: nodes.hpp:1171
lib_ruby_parser::InPattern::expression_l
Loc expression_l
Definition: nodes.hpp:2029
lib_ruby_parser::Preexe::begin_l
Loc begin_l
Definition: nodes.hpp:3162
lib_ruby_parser::Send::dot_l
MaybeLoc dot_l
Definition: nodes.hpp:3575
lib_ruby_parser::Node::Value::next
Next next
Definition: nodes.hpp:4450
lib_ruby_parser::Str
Represents a plain non-interpolated string literal (e.g. "foo")
Definition: nodes.hpp:3670
lib_ruby_parser::MatchCurrentLine::re
Node * re
Given regex.
Definition: nodes.hpp:2540
lib_ruby_parser::IfGuard
Represents an if guard used in pattern matching (i.e. case foo; in pattern if guard; end)
Definition: nodes.hpp:1769
lib_ruby_parser::Node::Tag::RESTARG
@ RESTARG
lib_ruby_parser::Index::end_l
Loc end_l
Definition: nodes.hpp:1927
lib_ruby_parser::Sym
Definition: nodes.hpp:3763
lib_ruby_parser::Numblock::numargs
uint8_t numargs
Number of parameters that block takes.
Definition: nodes.hpp:2876
lib_ruby_parser::Node::Value::until
Until until
Definition: nodes.hpp:4483
lib_ruby_parser::Begin::expression_l
Loc expression_l
Definition: nodes.hpp:360
lib_ruby_parser::KwBegin::expression_l
Loc expression_l
Definition: nodes.hpp:2222
lib_ruby_parser::MatchAlt::lhs
Node * lhs
Left pattern.
Definition: nodes.hpp:2464
lib_ruby_parser::Args::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:173
lib_ruby_parser::EFlipFlop::expression_l
Loc expression_l
Definition: nodes.hpp:1255
lib_ruby_parser::Node::Tag::UNTIL
@ UNTIL
lib_ruby_parser::Lvar
Definition: nodes.hpp:2376
lib_ruby_parser::Node::Tag::INT
@ INT
lib_ruby_parser::Send::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:3615
lib_ruby_parser::IndexAsgn::expression_l
Loc expression_l
Definition: nodes.hpp:1988
lib_ruby_parser::NodeList::~NodeList
~NodeList()
lib_ruby_parser::When::expression_l
Loc expression_l
Definition: nodes.hpp:3999
lib_ruby_parser::Node::Tag::PROCARG0
@ PROCARG0
lib_ruby_parser::OpAsgn::operator_
String operator_
Definition: nodes.hpp:2926
lib_ruby_parser::Lvasgn::expression_l
Loc expression_l
Definition: nodes.hpp:2427
lib_ruby_parser::IfGuard::expression_l
Loc expression_l
Definition: nodes.hpp:1789
lib_ruby_parser::Casgn::name
String name
Name of the constant, String("A") for A = 1
Definition: nodes.hpp:617
lib_ruby_parser::Const::name_l
Loc name_l
Definition: nodes.hpp:786
lib_ruby_parser::Index::recv
Node * recv
Receiver of indexing.
Definition: nodes.hpp:1908
lib_ruby_parser::Cvasgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:954
lib_ruby_parser::ArrayPatternWithTail::end_l
MaybeLoc end_l
Definition: nodes.hpp:284
lib_ruby_parser::Erange::operator_l
Loc operator_l
Definition: nodes.hpp:1343
lib_ruby_parser::Until::end_l
MaybeLoc end_l
Definition: nodes.hpp:3916
lib_ruby_parser::When
Represents a branch of the case statement (i.e. when foo)
Definition: nodes.hpp:3966
lib_ruby_parser::Xstr::parts
NodeList parts
A list of string parts (static literals and interpolated expressions)
Definition: nodes.hpp:4139
lib_ruby_parser::UnlessGuard::cond
Node * cond
Condition of the guard, Lvar("foo") in in pattern unless guard
Definition: nodes.hpp:3858
lib_ruby_parser::Node::Value::yield
Yield yield
Definition: nodes.hpp:4490
lib_ruby_parser::Line
Represents a special __LINE__ literal.
Definition: nodes.hpp:2355
lib_ruby_parser::For::iteratee
Node * iteratee
Collection that is for iteration. Lvar("b") in for a in b; end
Definition: nodes.hpp:1455
lib_ruby_parser::And::operator_l
Loc operator_l
Definition: nodes.hpp:85
lib_ruby_parser::Module::end_l
Loc end_l
Definition: nodes.hpp:2800
lib_ruby_parser::Kwarg
Represents required keyword argument (i.e. foo in def m(foo:); end)
Definition: nodes.hpp:2146
lib_ruby_parser::Node::Value::sym
Sym sym
Definition: nodes.hpp:4479
lib_ruby_parser::Node::Value::kw_begin
KwBegin kw_begin
Definition: nodes.hpp:4429
lib_ruby_parser::RescueBody::expression_l
Loc expression_l
Definition: nodes.hpp:3414
lib_ruby_parser::Float
Represents a float literal (i.e. 42.5)
Definition: nodes.hpp:1423
lib_ruby_parser::And::rhs
Node * rhs
Definition: nodes.hpp:77
lib_ruby_parser::Regexp::parts
NodeList parts
A list of static and dynamic regex parts.
Definition: nodes.hpp:3270
lib_ruby_parser::Lvasgn::name_l
Loc name_l
Definition: nodes.hpp:2408
lib_ruby_parser::Encoding
Represents a special __ENCODING__ keyword.
Definition: nodes.hpp:1279
lib_ruby_parser::Node::Tag::MATCH_PATTERN_P
@ MATCH_PATTERN_P
lib_ruby_parser::Kwoptarg::name_l
Loc name_l
Definition: nodes.hpp:2264
lib_ruby_parser::For::expression_l
Loc expression_l
Definition: nodes.hpp:1500
lib_ruby_parser::Encoding::expression_l
Loc expression_l
Definition: nodes.hpp:1288
lib_ruby_parser::Pin::expression_l
Loc expression_l
Definition: nodes.hpp:3096
lib_ruby_parser::ForwardedArgs::expression_l
Loc expression_l
Definition: nodes.hpp:1528
lib_ruby_parser::Node::Tag::YIELD
@ YIELD
lib_ruby_parser::Hash::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1606
lib_ruby_parser::Node::Tag::DSYM
@ DSYM
lib_ruby_parser::Or
Represents foo || bar (or foo or bar) statement.
Definition: nodes.hpp:2986
lib_ruby_parser::Node::Tag::STR
@ STR
lib_ruby_parser::MatchPatternP::operator_l
Loc operator_l
Definition: nodes.hpp:2629
lib_ruby_parser::Node::Value::for_
For for_
Definition: nodes.hpp:4407
lib_ruby_parser::Node::Tag::HASH_PATTERN
@ HASH_PATTERN
lib_ruby_parser::Node::Value::const_pattern
ConstPattern const_pattern
Definition: nodes.hpp:4389
lib_ruby_parser::Defs
Represents a singleton method definition (i.e. def self.foo; end)
Definition: nodes.hpp:1073
lib_ruby_parser::Node::Value::rescue
Rescue rescue
Definition: nodes.hpp:4467
lib_ruby_parser::EFlipFlop::right
Node * right
Right part of the flip-flop. None if based on a range without end (foo...)
Definition: nodes.hpp:1239
lib_ruby_parser::BlockPass
Represents a &blk argument of the method call (but not of the method definition, see BlockArg)
Definition: nodes.hpp:443
lib_ruby_parser::Numblock::body
Node * body
Block body.
Definition: nodes.hpp:2879
lib_ruby_parser::Node::Tag::MATCH_WITH_LVASGN
@ MATCH_WITH_LVASGN
lib_ruby_parser::Super::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3738
lib_ruby_parser::Node::Value::array_pattern
ArrayPattern array_pattern
Definition: nodes.hpp:4374
lib_ruby_parser::Optarg::name
String name
Name of the argument.
Definition: nodes.hpp:2954
lib_ruby_parser::Node::Tag::IN_PATTERN
@ IN_PATTERN
lib_ruby_parser::Node::Value::int_
Int int_
Definition: nodes.hpp:4423
lib_ruby_parser::RescueBody::exc_list
Node * exc_list
Definition: nodes.hpp:3370
lib_ruby_parser::IfTernary::expression_l
Loc expression_l
Definition: nodes.hpp:1899
lib_ruby_parser::RegOpt::expression_l
Loc expression_l
Definition: nodes.hpp:3322
lib_ruby_parser::Node::Value::kwoptarg
Kwoptarg kwoptarg
Definition: nodes.hpp:4431
lib_ruby_parser::Node::Tag::CLASS
@ CLASS
lib_ruby_parser::Gvasgn::name
String name
Name of the global variable, String("$foo") for $foo
Definition: nodes.hpp:1554
lib_ruby_parser::RescueBody
Represents a single rescue handler (i.e. rescue E => e ...)
Definition: nodes.hpp:3364
lib_ruby_parser::Node::Value::hash
Hash hash
Definition: nodes.hpp:4412
lib_ruby_parser::RescueBody::keyword_l
Loc keyword_l
Definition: nodes.hpp:3386
lib_ruby_parser::Sym::expression_l
Loc expression_l
Definition: nodes.hpp:3810
lib_ruby_parser::Node::Tag::WHILE
@ WHILE
lib_ruby_parser::SClass::operator_l
Loc operator_l
Definition: nodes.hpp:3518
lib_ruby_parser::Pin::var
Node * var
Variable that is pinned.
Definition: nodes.hpp:3080
lib_ruby_parser::Node::Tag::TRUE
@ TRUE
lib_ruby_parser::Ivar
Represents access to instance variable (i.e. @foo)
Definition: nodes.hpp:2087
lib_ruby_parser::Node::Value::xstr
Xstr xstr
Definition: nodes.hpp:4489
lib_ruby_parser::Kwrestarg::expression_l
Loc expression_l
Definition: nodes.hpp:2309
lib_ruby_parser::Until::expression_l
Loc expression_l
Definition: nodes.hpp:3927
lib_ruby_parser::Until
Represents until loop.
Definition: nodes.hpp:3879
lib_ruby_parser::OpAsgn::expression_l
Loc expression_l
Definition: nodes.hpp:2945
lib_ruby_parser::IfTernary::colon_l
Loc colon_l
Definition: nodes.hpp:1891
lib_ruby_parser::Node::Value::lvar
Lvar lvar
Definition: nodes.hpp:4436
lib_ruby_parser::Node::Tag::DEFINED
@ DEFINED
lib_ruby_parser::NodeList::capacity
size_t capacity
Definition: nodes.hpp:18
lib_ruby_parser::Node::Value::erange
Erange erange
Definition: nodes.hpp:4402
lib_ruby_parser::Return::keyword_l
Loc keyword_l
Definition: nodes.hpp:3480
lib_ruby_parser::Masgn::expression_l
Loc expression_l
Definition: nodes.hpp:2455
lib_ruby_parser::Gvasgn::name_l
Loc name_l
Definition: nodes.hpp:1568
lib_ruby_parser::MaybeString
Definition: string.hpp:49
lib_ruby_parser::Node::Value::match_pattern
MatchPattern match_pattern
Definition: nodes.hpp:4443
lib_ruby_parser::AndAsgn
Represents a &&= 1 statement.
Definition: nodes.hpp:98
lib_ruby_parser::Ensure::keyword_l
Loc keyword_l
Definition: nodes.hpp:1313
lib_ruby_parser::CSend::end_l
MaybeLoc end_l
Definition: nodes.hpp:891
lib_ruby_parser::Cvar::name
String name
Name of the class variable, String("@@foo") for @@foo
Definition: nodes.hpp:918
lib_ruby_parser::Node::Tag::BREAK
@ BREAK
lib_ruby_parser::Def::name_l
Loc name_l
Definition: nodes.hpp:995
lib_ruby_parser::IfGuard::cond
Node * cond
Condition of the guard, Lvar("foo") in in pattern if guard
Definition: nodes.hpp:1773
lib_ruby_parser::Numblock::begin_l
Loc begin_l
Definition: nodes.hpp:2887
lib_ruby_parser::Or::operator_l
Loc operator_l
Definition: nodes.hpp:3001
lib_ruby_parser::EmptyElse::expression_l
Loc expression_l
Definition: nodes.hpp:1274
lib_ruby_parser::ForwardedArgs
Represents a ... operator that contains forwarded argument (see ForwardArg)
Definition: nodes.hpp:1519
lib_ruby_parser::Ivasgn
Represents instance variable assignment (i.e @foo = 42)
Definition: nodes.hpp:2104
lib_ruby_parser::Gvar::expression_l
Loc expression_l
Definition: nodes.hpp:1545
lib_ruby_parser::Def
Represents method definition using def keyword (not on a singleton, see Defs node).
Definition: nodes.hpp:967
lib_ruby_parser::Node::Tag::MATCH_ALT
@ MATCH_ALT
lib_ruby_parser::Node::Value::if_
If if_
Definition: nodes.hpp:4415
lib_ruby_parser::Heredoc
Definition: nodes.hpp:1668
lib_ruby_parser::OrAsgn::operator_l
Loc operator_l
Definition: nodes.hpp:3029
lib_ruby_parser::Node::Tag::BACK_REF
@ BACK_REF
lib_ruby_parser::Casgn::value
Node * value
Definition: nodes.hpp:623
lib_ruby_parser::Blockarg::name_l
MaybeLoc name_l
Definition: nodes.hpp:430
lib_ruby_parser::Node::Tag::IVASGN
@ IVASGN
lib_ruby_parser::Node::Value::match_as
MatchAs match_as
Definition: nodes.hpp:4440
lib_ruby_parser::ArrayPatternWithTail::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:274
lib_ruby_parser::IfMod::keyword_l
Loc keyword_l
Definition: nodes.hpp:1849
lib_ruby_parser::Line::expression_l
Loc expression_l
Definition: nodes.hpp:2364
lib_ruby_parser::Splat::value
Node * value
Value that is converted to array.
Definition: nodes.hpp:3649
lib_ruby_parser::ArrayPattern::elements
NodeList elements
A list of elements.
Definition: nodes.hpp:225
lib_ruby_parser::ConstPattern::begin_l
Loc begin_l
Definition: nodes.hpp:816
lib_ruby_parser::Defined::value
Node * value
Value given to defined?
Definition: nodes.hpp:1032
lib_ruby_parser::Kwrestarg::name_l
MaybeLoc name_l
Definition: nodes.hpp:2301
lib_ruby_parser::Case::else_body
Node * else_body
Body of the else branch, None if there's no else branch.
Definition: nodes.hpp:512
lib_ruby_parser::Node::Value::numblock
Numblock numblock
Definition: nodes.hpp:4453
lib_ruby_parser::Until::keyword_l
Loc keyword_l
Definition: nodes.hpp:3896
lib_ruby_parser::Node::Value::retry
Retry retry
Definition: nodes.hpp:4470
lib_ruby_parser::Heredoc::expression_l
Loc expression_l
Definition: nodes.hpp:1705
lib_ruby_parser::Node::Tag::CASGN
@ CASGN
lib_ruby_parser::Dsym::end_l
MaybeLoc end_l
Definition: nodes.hpp:1219
lib_ruby_parser::CaseMatch::expression_l
Loc expression_l
Definition: nodes.hpp:602
lib_ruby_parser::OrAsgn::value
Node * value
Right hand statement.
Definition: nodes.hpp:3021
lib_ruby_parser::Complex::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:747
lib_ruby_parser::FindPattern
Definition: nodes.hpp:1386
lib_ruby_parser::Case::keyword_l
Loc keyword_l
Definition: nodes.hpp:520
lib_ruby_parser::False::expression_l
Loc expression_l
Definition: nodes.hpp:1365
lib_ruby_parser::Dstr::expression_l
Loc expression_l
Definition: nodes.hpp:1182
lib_ruby_parser::Node::Value::dsym
Dsym dsym
Definition: nodes.hpp:4397
lib_ruby_parser::Node::Value::postexe
Postexe postexe
Definition: nodes.hpp:4460
lib_ruby_parser::MatchWithLvasgn::operator_l
Loc operator_l
Definition: nodes.hpp:2725
lib_ruby_parser::Node::Tag::CONST
@ CONST
lib_ruby_parser::Cvasgn::expression_l
Loc expression_l
Definition: nodes.hpp:962
lib_ruby_parser::Node::Value::ensure
Ensure ensure
Definition: nodes.hpp:4401
lib_ruby_parser::MatchNilPattern
Represents empty hash pattern that is used in pattern matching (i.e. in **nil)
Definition: nodes.hpp:2556
lib_ruby_parser::Kwargs::expression_l
Loc expression_l
Definition: nodes.hpp:2183
lib_ruby_parser::Pair::operator_l
Loc operator_l
Definition: nodes.hpp:3060
lib_ruby_parser::Begin
Definition: nodes.hpp:320
lib_ruby_parser::Node::Tag::CBASE
@ CBASE
lib_ruby_parser::NthRef
Represents numeric global variable (e.g. $1)
Definition: nodes.hpp:2852
lib_ruby_parser::ArrayPattern::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:235
lib_ruby_parser::Numblock::expression_l
Loc expression_l
Definition: nodes.hpp:2903
lib_ruby_parser::Node::Value::operator=
Value & operator=(Value &&)
lib_ruby_parser::Node::Tag::MATCH_VAR
@ MATCH_VAR
lib_ruby_parser::Node::Value::send
Send send
Definition: nodes.hpp:4474
lib_ruby_parser::Case::else_l
MaybeLoc else_l
Definition: nodes.hpp:530
lib_ruby_parser::Heredoc::heredoc_body_l
Loc heredoc_body_l
Definition: nodes.hpp:1680
lib_ruby_parser::Regexp::end_l
Loc end_l
Definition: nodes.hpp:3297
lib_ruby_parser::Node::Value::Value
Value(Value &&)
lib_ruby_parser::Or::lhs
Node * lhs
Left hand statement.
Definition: nodes.hpp:2990
lib_ruby_parser::Regexp::begin_l
Loc begin_l
Definition: nodes.hpp:3286
lib_ruby_parser::IFlipFlop
Represents inclusive flip-flop (i.e. in if foo..bar; end)
Definition: nodes.hpp:1794
lib_ruby_parser::Dstr
Represents a string with interpolation (i.e. "#{foo}")
Definition: nodes.hpp:1145
lib_ruby_parser::Node::Tag::MODULE
@ MODULE
lib_ruby_parser::Lvasgn::value
Node * value
Value that is assigned to a local variable.
Definition: nodes.hpp:2400
lib_ruby_parser::Optarg::operator_l
Loc operator_l
Definition: nodes.hpp:2973
lib_ruby_parser::Begin::statements
NodeList statements
A list of statements.
Definition: nodes.hpp:324
lib_ruby_parser::Node::Value::cbase
Cbase cbase
Definition: nodes.hpp:4385
lib_ruby_parser::Casgn::scope
Node * scope
Definition: nodes.hpp:614
lib_ruby_parser::Break::expression_l
Loc expression_l
Definition: nodes.hpp:490
lib_ruby_parser::NodeList::operator=
NodeList & operator=(NodeList const &)=delete
lib_ruby_parser::Int::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:2046
lib_ruby_parser::WhilePost::body
Node * body
Body of the loop.
Definition: nodes.hpp:4070
lib_ruby_parser::And
Represents foo && bar (or foo and bar) statement.
Definition: nodes.hpp:66
lib_ruby_parser::MatchPatternP
Represents a one-line pattern matching that never throws but returns true/false (i....
Definition: nodes.hpp:2614
lib_ruby_parser::Pair
Represents a key/value pair (e.g. a part of the Hash node)
Definition: nodes.hpp:3042
lib_ruby_parser::Nil::expression_l
Loc expression_l
Definition: nodes.hpp:2847
lib_ruby_parser::Defs::name
String name
Name of the method, String("foo") for def x.foo; end
Definition: nodes.hpp:1080
lib_ruby_parser::WhilePost::cond
Node * cond
Condition of the loop.
Definition: nodes.hpp:4067
lib_ruby_parser::Node::Value::match_var
MatchVar match_var
Definition: nodes.hpp:4446
lib_ruby_parser::Node::Tag::HASH
@ HASH
lib_ruby_parser::CaseMatch::end_l
Loc end_l
Definition: nodes.hpp:594
lib_ruby_parser::MatchAlt
Represents pattern matching using one of the given patterns (i.e. foo in 1 | 2)
Definition: nodes.hpp:2460
lib_ruby_parser::Str::value
Bytes value
Definition: nodes.hpp:3683
lib_ruby_parser::IfMod::cond
Node * cond
Condition of the modifier.
Definition: nodes.hpp:1826
lib_ruby_parser::MaybeLoc
Equivalent of Option<Loc>
Definition: loc.hpp:24
lib_ruby_parser::Node::Value::undef
Undef undef
Definition: nodes.hpp:4481
lib_ruby_parser::Node::Tag::KWARGS
@ KWARGS
lib_ruby_parser::Node::Value::if_mod
IfMod if_mod
Definition: nodes.hpp:4418
lib_ruby_parser::Restarg::expression_l
Loc expression_l
Definition: nodes.hpp:3449
lib_ruby_parser::While::cond
Node * cond
Condition of the loop.
Definition: nodes.hpp:4008
lib_ruby_parser::Node::Tag::ERANGE_
@ ERANGE_
lib_ruby_parser::Mlhs::end_l
MaybeLoc end_l
Definition: nodes.hpp:2762
lib_ruby_parser::Array::expression_l
Loc expression_l
Definition: nodes.hpp:216
lib_ruby_parser::Node::Value::const_
Const const_
Definition: nodes.hpp:4388
lib_ruby_parser::Blockarg::operator_l
Loc operator_l
Definition: nodes.hpp:422
lib_ruby_parser::Args::args
NodeList args
List of arguments.
Definition: nodes.hpp:155
lib_ruby_parser::IfTernary::question_l
Loc question_l
Definition: nodes.hpp:1883
lib_ruby_parser::Node
Definition: nodes.hpp:4238
lib_ruby_parser::Node::Tag::RESCUE
@ RESCUE
lib_ruby_parser::Procarg0::expression_l
Loc expression_l
Definition: nodes.hpp:3222
lib_ruby_parser::Shadowarg
Represents a special block argument that "shadows" outer variable (i.e. |;foo|)
Definition: nodes.hpp:3628
lib_ruby_parser::CSend
Represents conditional method call using &. operator.
Definition: nodes.hpp:837
lib_ruby_parser::Node::Value::cvasgn
Cvasgn cvasgn
Definition: nodes.hpp:4392
lib_ruby_parser::IfTernary::if_false
Node * if_false
True-branch.
Definition: nodes.hpp:1875
lib_ruby_parser::Node::Tag::OR
@ OR
lib_ruby_parser::Case::expression_l
Loc expression_l
Definition: nodes.hpp:546
lib_ruby_parser::MatchCurrentLine
Definition: nodes.hpp:2536
lib_ruby_parser::CSend::dot_l
Loc dot_l
Definition: nodes.hpp:861
lib_ruby_parser::Module::body
Node * body
Definition: nodes.hpp:2784
lib_ruby_parser::Undef::expression_l
Loc expression_l
Definition: nodes.hpp:3849
lib_ruby_parser::Until::body
Node * body
Definition: nodes.hpp:3888
lib_ruby_parser::Node::Tag::FILE
@ FILE
lib_ruby_parser::Node::Tag::GVAR
@ GVAR
lib_ruby_parser::Node::Tag::RESCUE_BODY
@ RESCUE_BODY
lib_ruby_parser::Pin
Represents a pattern based on a "pinned" variable (e.g. ^foo)
Definition: nodes.hpp:3076
lib_ruby_parser::Node::Tag::DEF
@ DEF
lib_ruby_parser::Node::Value::args
Args args
Definition: nodes.hpp:4372
lib_ruby_parser::IfTernary::cond
Node * cond
Condition of the if statement.
Definition: nodes.hpp:1869
lib_ruby_parser::NthRef::name
String name
Name of the variable, String("1") for $1
Definition: nodes.hpp:2856
lib_ruby_parser::Ivar::expression_l
Loc expression_l
Definition: nodes.hpp:2099
lib_ruby_parser::Undef::names
NodeList names
A list of names to undef
Definition: nodes.hpp:3833
lib_ruby_parser::Retry
Represents retry keyword.
Definition: nodes.hpp:3454
lib_ruby_parser::If::else_l
MaybeLoc else_l
Definition: nodes.hpp:1748
lib_ruby_parser::IfGuard::keyword_l
Loc keyword_l
Definition: nodes.hpp:1781
lib_ruby_parser::Node::Value::index
Index index
Definition: nodes.hpp:4420
lib_ruby_parser::ConstPattern::end_l
Loc end_l
Definition: nodes.hpp:824
lib_ruby_parser::Node::Value::match_nil_pattern
MatchNilPattern match_nil_pattern
Definition: nodes.hpp:4442
lib_ruby_parser::Blockarg::name
MaybeString name
Name of the argument, String("foo") for def m(&foo)
Definition: nodes.hpp:414
lib_ruby_parser::If::expression_l
Loc expression_l
Definition: nodes.hpp:1764
lib_ruby_parser::If::cond
Node * cond
Condition given to the if statement, Lvar("a") for if a; b; else; c; end
Definition: nodes.hpp:1714
lib_ruby_parser::Node::Value::reg_opt
RegOpt reg_opt
Definition: nodes.hpp:4466
lib_ruby_parser::And::expression_l
Loc expression_l
Definition: nodes.hpp:93
lib_ruby_parser::IndexAsgn::indexes
NodeList indexes
A list of indexes.
Definition: nodes.hpp:1947
lib_ruby_parser::Irange::operator_l
Loc operator_l
Definition: nodes.hpp:2074
lib_ruby_parser::Rational::expression_l
Loc expression_l
Definition: nodes.hpp:3247
lib_ruby_parser::Node::Tag::SYM
@ SYM
lib_ruby_parser::Class::end_l
Loc end_l
Definition: nodes.hpp:720
lib_ruby_parser::Node::Tag::UNDEF
@ UNDEF
lib_ruby_parser::Node::Tag::NIL
@ NIL
lib_ruby_parser::Node::Tag::SEND
@ SEND
lib_ruby_parser::Postexe::expression_l
Loc expression_l
Definition: nodes.hpp:3137
lib_ruby_parser::Block::args
Node * args
Definition: nodes.hpp:378
lib_ruby_parser::Node::Tag::BEGIN
@ BEGIN
lib_ruby_parser::EFlipFlop
Represents exclusive flip-flop (i.e. in if foo...bar; end)
Definition: nodes.hpp:1232
lib_ruby_parser::IndexAsgn::begin_l
Loc begin_l
Definition: nodes.hpp:1961
lib_ruby_parser::Alias::keyword_l
Loc keyword_l
Definition: nodes.hpp:53
lib_ruby_parser::Postexe
Represents END { .. } statement.
Definition: nodes.hpp:3101
lib_ruby_parser::Regexp::expression_l
Loc expression_l
Definition: nodes.hpp:3305
lib_ruby_parser::Defined::end_l
MaybeLoc end_l
Definition: nodes.hpp:1060
lib_ruby_parser::Kwnilarg
Represents an special argument that rejects all keyword arguments (i.e. def m(**nil); end)
Definition: nodes.hpp:2227
lib_ruby_parser::Heredoc::parts
NodeList parts
A list of string parts (static literals and interpolated expressions)
Definition: nodes.hpp:1672
lib_ruby_parser::Node::Value::s_class
SClass s_class
Definition: nodes.hpp:4472
lib_ruby_parser::Defined
Represents a defined?(foo) expression.
Definition: nodes.hpp:1028
lib_ruby_parser::While::body
Node * body
Definition: nodes.hpp:4013
lib_ruby_parser::InPattern::body
Node * body
Body of the branch that is invoked if value matches pattern.
Definition: nodes.hpp:2005
lib_ruby_parser::Node::Tag::OR_ASGN
@ OR_ASGN
lib_ruby_parser::Sym::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3786
lib_ruby_parser::NodeList::len
size_t len
Definition: nodes.hpp:19
lib_ruby_parser::Array::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:200
lib_ruby_parser::Node::Tag::IF
@ IF
lib_ruby_parser::FindPattern::expression_l
Loc expression_l
Definition: nodes.hpp:1418
lib_ruby_parser::Send::selector_l
MaybeLoc selector_l
Definition: nodes.hpp:3585
lib_ruby_parser::InPattern::guard
Node * guard
Definition: nodes.hpp:2002
lib_ruby_parser::IFlipFlop::left
Node * left
Left part of the flip-flop. None if based on a range without begin (..bar)
Definition: nodes.hpp:1798
lib_ruby_parser::XHeredoc::heredoc_end_l
Loc heredoc_end_l
Definition: nodes.hpp:4113
lib_ruby_parser::If::if_true
Node * if_true
True-branch of the if statement, Lvar("b") for if a; b; else; c; end
Definition: nodes.hpp:1717
lib_ruby_parser::Rescue::else_
Node * else_
Definition: nodes.hpp:3339
lib_ruby_parser::False
Represents a false literal.
Definition: nodes.hpp:1356
lib_ruby_parser::MatchWithLvasgn::value
Node * value
Value that is used for matching.
Definition: nodes.hpp:2717
lib_ruby_parser::MatchNilPattern::name_l
Loc name_l
Definition: nodes.hpp:2573
lib_ruby_parser::Node::Tag::IF_TERNARY
@ IF_TERNARY
lib_ruby_parser::Node::Tag::E_FLIP_FLOP
@ E_FLIP_FLOP
lib_ruby_parser::Procarg0::args
NodeList args
Definition: nodes.hpp:3194
lib_ruby_parser::If::keyword_l
Loc keyword_l
Definition: nodes.hpp:1728
lib_ruby_parser::Xstr
Represents an executable string (i.e. `sh #{script_name}`)
Definition: nodes.hpp:4135
lib_ruby_parser::String
Definition: string.hpp:13
lib_ruby_parser::Node::Value::ivar
Ivar ivar
Definition: nodes.hpp:4425
lib_ruby_parser::Optarg::expression_l
Loc expression_l
Definition: nodes.hpp:2981
lib_ruby_parser::Defined::keyword_l
Loc keyword_l
Definition: nodes.hpp:1040
lib_ruby_parser::Node::Tag::XSTR
@ XSTR
lib_ruby_parser::Cbase::expression_l
Loc expression_l
Definition: nodes.hpp:677
lib_ruby_parser::Node::Tag::MATCH_AS
@ MATCH_AS
lib_ruby_parser::Node::Value::find_pattern
FindPattern find_pattern
Definition: nodes.hpp:4405
lib_ruby_parser::Node::Value::until_post
UntilPost until_post
Definition: nodes.hpp:4484
lib_ruby_parser::Casgn::double_colon_l
MaybeLoc double_colon_l
Definition: nodes.hpp:636
lib_ruby_parser::Begin::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:338
lib_ruby_parser::Gvasgn::expression_l
Loc expression_l
Definition: nodes.hpp:1587
lib_ruby_parser::Node::Tag::CASE_MATCH
@ CASE_MATCH
lib_ruby_parser::Cvasgn
Represents class variable assignment (i.e. @@var = 42)
Definition: nodes.hpp:931
lib_ruby_parser::Node::Tag::RETURN
@ RETURN
lib_ruby_parser::CSend::expression_l
Loc expression_l
Definition: nodes.hpp:909
lib_ruby_parser::Node::Value::casgn
Casgn casgn
Definition: nodes.hpp:4384
lib_ruby_parser::Lvasgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:2419
lib_ruby_parser::Case
Represents a case statement (for pattern matching see CaseMatch node)
Definition: nodes.hpp:495
lib_ruby_parser::UntilPost::expression_l
Loc expression_l
Definition: nodes.hpp:3961
lib_ruby_parser::NodeList
Definition: nodes.hpp:14
lib_ruby_parser::Kwsplat::expression_l
Loc expression_l
Definition: nodes.hpp:2334
lib_ruby_parser::Kwnilarg::name_l
Loc name_l
Definition: nodes.hpp:2236
lib_ruby_parser::Args::expression_l
Loc expression_l
Definition: nodes.hpp:163
lib_ruby_parser::Break::args
NodeList args
A list of arguments.
Definition: nodes.hpp:474
lib_ruby_parser::ArrayPattern::expression_l
Loc expression_l
Definition: nodes.hpp:253
lib_ruby_parser::And::lhs
Node * lhs
Definition: nodes.hpp:72
lib_ruby_parser::EFlipFlop::operator_l
Loc operator_l
Definition: nodes.hpp:1247
lib_ruby_parser::Node::Value::~Value
~Value()
lib_ruby_parser::Numblock::call
Node * call
Method call that takes a block.
Definition: nodes.hpp:2873
lib_ruby_parser::IndexAsgn::recv
Node * recv
Receiver of the indexing.
Definition: nodes.hpp:1944
lib_ruby_parser
Definition: api.hpp:7
lib_ruby_parser::Node::Tag::SPLAT
@ SPLAT
lib_ruby_parser::Casgn::name_l
Loc name_l
Definition: nodes.hpp:644
lib_ruby_parser::Return::args
NodeList args
A list of values that is returned.
Definition: nodes.hpp:3472
lib_ruby_parser::Node::Value::if_guard
IfGuard if_guard
Definition: nodes.hpp:4416
lib_ruby_parser::InPattern::keyword_l
Loc keyword_l
Definition: nodes.hpp:2013
lib_ruby_parser::Node::Tag::SELF_
@ SELF_
lib_ruby_parser::Postexe::end_l
Loc end_l
Definition: nodes.hpp:3129
lib_ruby_parser::Break::keyword_l
Loc keyword_l
Definition: nodes.hpp:482
lib_ruby_parser::Self_::expression_l
Loc expression_l
Definition: nodes.hpp:3548
lib_ruby_parser::OpAsgn::recv
Node * recv
Left hand statement of the assignment.
Definition: nodes.hpp:2912
lib_ruby_parser::Node::Value::preexe
Preexe preexe
Definition: nodes.hpp:4461
lib_ruby_parser::Node::Value::index_asgn
IndexAsgn index_asgn
Definition: nodes.hpp:4421
lib_ruby_parser::While::expression_l
Loc expression_l
Definition: nodes.hpp:4052
lib_ruby_parser::OpAsgn::value
Node * value
Right hand statement of the assignment.
Definition: nodes.hpp:2929
lib_ruby_parser::Erange::left
Node * left
Begin of the range, None if range has no begin (i.e ...42)
Definition: nodes.hpp:1332
lib_ruby_parser::Node::Value::match_pattern_p
MatchPatternP match_pattern_p
Definition: nodes.hpp:4444
lib_ruby_parser::OpAsgn
Represents an operation with assignment (e.g. a += 1)
Definition: nodes.hpp:2908
lib_ruby_parser::Kwnilarg::expression_l
Loc expression_l
Definition: nodes.hpp:2244
lib_ruby_parser::If::if_false
Node * if_false
False-branch of the if statement, Lvar("c") for if a; b; else; c; end
Definition: nodes.hpp:1720
lib_ruby_parser::Yield::end_l
MaybeLoc end_l
Definition: nodes.hpp:4209
lib_ruby_parser::Node::Value::encoding
Encoding encoding
Definition: nodes.hpp:4400
lib_ruby_parser::MatchPattern::operator_l
Loc operator_l
Definition: nodes.hpp:2601
lib_ruby_parser::Casgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:655
lib_ruby_parser::MatchNilPattern::expression_l
Loc expression_l
Definition: nodes.hpp:2581
lib_ruby_parser::Yield
Represents an yield keyword.
Definition: nodes.hpp:4177
lib_ruby_parser::Numblock::end_l
Loc end_l
Definition: nodes.hpp:2895
lib_ruby_parser::Block::expression_l
Loc expression_l
Definition: nodes.hpp:405
lib_ruby_parser::Postexe::begin_l
Loc begin_l
Definition: nodes.hpp:3121
lib_ruby_parser::HashPattern::expression_l
Loc expression_l
Definition: nodes.hpp:1661
lib_ruby_parser::Postexe::body
Node * body
Body of the block.
Definition: nodes.hpp:3105
lib_ruby_parser::Module::keyword_l
Loc keyword_l
Definition: nodes.hpp:2792
lib_ruby_parser::MatchRest::operator_l
Loc operator_l
Definition: nodes.hpp:2656
lib_ruby_parser::IFlipFlop::right
Node * right
Right part of the flip-flop. None if based on a range without end (foo..)
Definition: nodes.hpp:1801
lib_ruby_parser::InPattern
Represents an in pattern branch of the pattern matching.
Definition: nodes.hpp:1993
lib_ruby_parser::Gvasgn::value
Node * value
Definition: nodes.hpp:1560
lib_ruby_parser::SClass::end_l
Loc end_l
Definition: nodes.hpp:3526
lib_ruby_parser::Kwarg::name_l
Loc name_l
Definition: nodes.hpp:2158
lib_ruby_parser::Defs::end_l
MaybeLoc end_l
Definition: nodes.hpp:1132
lib_ruby_parser::Node::Value::module
Module module
Definition: nodes.hpp:4449
lib_ruby_parser::MatchVar::expression_l
Loc expression_l
Definition: nodes.hpp:2703
lib_ruby_parser::Node::Value::true_
True true_
Definition: nodes.hpp:4480
lib_ruby_parser::IFlipFlop::expression_l
Loc expression_l
Definition: nodes.hpp:1817
lib_ruby_parser::MatchAs::operator_l
Loc operator_l
Definition: nodes.hpp:2503
lib_ruby_parser::KwBegin::statements
NodeList statements
A list of statements.
Definition: nodes.hpp:2198
lib_ruby_parser::Pair::key
Node * key
Key of the pair.
Definition: nodes.hpp:3046
lib_ruby_parser::CaseMatch::else_l
MaybeLoc else_l
Definition: nodes.hpp:586
lib_ruby_parser::Ivasgn::operator_l
MaybeLoc operator_l
Definition: nodes.hpp:2133
lib_ruby_parser::Kwsplat::operator_l
Loc operator_l
Definition: nodes.hpp:2326
lib_ruby_parser::Dstr::parts
NodeList parts
A list of string parts (static literals and interpolated expressions)
Definition: nodes.hpp:1149
lib_ruby_parser::Node::Value::dstr
Dstr dstr
Definition: nodes.hpp:4396
lib_ruby_parser::When::body
Node * body
Body of the when branch.
Definition: nodes.hpp:3973
lib_ruby_parser::Case::expr
Node * expr
Definition: nodes.hpp:506
lib_ruby_parser::EmptyElse
Definition: nodes.hpp:1265
lib_ruby_parser::Node::Tag::WHEN
@ WHEN
lib_ruby_parser::Node::Value::kwsplat
Kwsplat kwsplat
Definition: nodes.hpp:4433
lib_ruby_parser::Array
Represents an array literal.
Definition: nodes.hpp:188
lib_ruby_parser::Erange::expression_l
Loc expression_l
Definition: nodes.hpp:1351
lib_ruby_parser::Arg::name
String name
Name of the argument.
Definition: nodes.hpp:136
lib_ruby_parser::Case::end_l
Loc end_l
Definition: nodes.hpp:538
lib_ruby_parser::Node::Value::z_super
ZSuper z_super
Definition: nodes.hpp:4491
lib_ruby_parser::Lambda
Definition: nodes.hpp:2341
lib_ruby_parser::Restarg::name
MaybeString name
Definition: nodes.hpp:3425
lib_ruby_parser::Const::double_colon_l
MaybeLoc double_colon_l
Definition: nodes.hpp:778
lib_ruby_parser::Node::Value::optarg
Optarg optarg
Definition: nodes.hpp:4455
lib_ruby_parser::Node::Tag::KWRESTARG
@ KWRESTARG
lib_ruby_parser::SClass::expr
Node * expr
Definition: nodes.hpp:3499
lib_ruby_parser::Send::expression_l
Loc expression_l
Definition: nodes.hpp:3623
lib_ruby_parser::KwBegin
Definition: nodes.hpp:2194
lib_ruby_parser::IndexAsgn::value
Node * value
Definition: nodes.hpp:1953
lib_ruby_parser::Node::Value::mlhs
Mlhs mlhs
Definition: nodes.hpp:4448
lib_ruby_parser::Int::expression_l
Loc expression_l
Definition: nodes.hpp:2054
lib_ruby_parser::NthRef::expression_l
Loc expression_l
Definition: nodes.hpp:2864
lib_ruby_parser::Class::superclass
Node * superclass
Definition: nodes.hpp:691
lib_ruby_parser::AndAsgn::recv
Node * recv
Definition: nodes.hpp:104
lib_ruby_parser::IfMod::if_false
Node * if_false
Definition: nodes.hpp:1838
lib_ruby_parser::BlockPass::operator_l
Loc operator_l
Definition: nodes.hpp:457
lib_ruby_parser::Node::Tag::I_FLIP_FLOP
@ I_FLIP_FLOP
lib_ruby_parser::CaseMatch::keyword_l
Loc keyword_l
Definition: nodes.hpp:576
lib_ruby_parser::Cbase
Represents leading :: part of the constant access/assignment that is used to get/set on a global name...
Definition: nodes.hpp:668
lib_ruby_parser::ZSuper
Definition: nodes.hpp:4224
lib_ruby_parser::ConstPattern::pattern
Node * pattern
Definition: nodes.hpp:808
lib_ruby_parser::Node::Tag::CONST_PATTERN
@ CONST_PATTERN
lib_ruby_parser::CSend::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:881
lib_ruby_parser::Kwargs
Represents kwargs that are given to a method call, super or yield (i.e. foo(bar: 1))
Definition: nodes.hpp:2171
lib_ruby_parser::Retry::expression_l
Loc expression_l
Definition: nodes.hpp:3463
lib_ruby_parser::While
Represents while loop.
Definition: nodes.hpp:4004
lib_ruby_parser::Node::Value::case_match
CaseMatch case_match
Definition: nodes.hpp:4383
lib_ruby_parser::Preexe::expression_l
Loc expression_l
Definition: nodes.hpp:3178
lib_ruby_parser::Node::as
Value as
Definition: nodes.hpp:4500
lib_ruby_parser::Preexe::keyword_l
Loc keyword_l
Definition: nodes.hpp:3154
lib_ruby_parser::Defs::operator_l
Loc operator_l
Definition: nodes.hpp:1104
lib_ruby_parser::CSend::method_name
String method_name
Name of the method, String("foo") for 1&.foo
Definition: nodes.hpp:844
lib_ruby_parser::Node::Tag::RETRY
@ RETRY
lib_ruby_parser::CSend::args
NodeList args
Definition: nodes.hpp:853
lib_ruby_parser::Defs::assignment_l
MaybeLoc assignment_l
Definition: nodes.hpp:1122
lib_ruby_parser::Pin::selector_l
Loc selector_l
Definition: nodes.hpp:3088
lib_ruby_parser::Yield::args
NodeList args
A list of arguments given to yield
Definition: nodes.hpp:4181
lib_ruby_parser::While::end_l
MaybeLoc end_l
Definition: nodes.hpp:4041
lib_ruby_parser::Xstr::begin_l
Loc begin_l
Definition: nodes.hpp:4150
lib_ruby_parser::Arg::expression_l
Loc expression_l
Definition: nodes.hpp:144
lib_ruby_parser::FindPattern::elements
NodeList elements
Inner part of the find pattern.
Definition: nodes.hpp:1390
lib_ruby_parser::For::keyword_l
Loc keyword_l
Definition: nodes.hpp:1466
lib_ruby_parser::Node::Value::pair
Pair pair
Definition: nodes.hpp:4458
lib_ruby_parser::Xstr::expression_l
Loc expression_l
Definition: nodes.hpp:4172
lib_ruby_parser::Node::Value::i_flip_flop
IFlipFlop i_flip_flop
Definition: nodes.hpp:4417
lib_ruby_parser::Node::Tag::FOR
@ FOR
lib_ruby_parser::Cvar::expression_l
Loc expression_l
Definition: nodes.hpp:926
lib_ruby_parser::Xstr::end_l
Loc end_l
Definition: nodes.hpp:4161
lib_ruby_parser::If::end_l
MaybeLoc end_l
Definition: nodes.hpp:1756
lib_ruby_parser::OrAsgn
Represents lhs ||= rhs assignment.
Definition: nodes.hpp:3014
lib_ruby_parser::Node::Tag::HEREDOC
@ HEREDOC
lib_ruby_parser::MatchPattern::pattern
Node * pattern
Pattern that is used for matching.
Definition: nodes.hpp:2593
lib_ruby_parser::Node::Tag::AND_ASGN
@ AND_ASGN
lib_ruby_parser::Undef
Represents an undef keyword (e.g. undef foo, :bar)
Definition: nodes.hpp:3829
lib_ruby_parser::Module
Represents module declaration using module keyword.
Definition: nodes.hpp:2775
lib_ruby_parser::OrAsgn::expression_l
Loc expression_l
Definition: nodes.hpp:3037
lib_ruby_parser::Rational::value
String value
String value of the literal, String("1r") for 1r
Definition: nodes.hpp:3231
lib_ruby_parser::AndAsgn::value
Node * value
Definition: nodes.hpp:109
lib_ruby_parser::Index::expression_l
Loc expression_l
Definition: nodes.hpp:1935
lib_ruby_parser::Node::Tag::MATCH_NIL_PATTERN
@ MATCH_NIL_PATTERN
lib_ruby_parser::IFlipFlop::operator_l
Loc operator_l
Definition: nodes.hpp:1809
lib_ruby_parser::Defs::body
Node * body
Body of the method, None if there's no body.
Definition: nodes.hpp:1088
lib_ruby_parser::Return
Represents return keyword.
Definition: nodes.hpp:3468
lib_ruby_parser::Node::Value::match_rest
MatchRest match_rest
Definition: nodes.hpp:4445
lib_ruby_parser::WhilePost::expression_l
Loc expression_l
Definition: nodes.hpp:4086
lib_ruby_parser::Node::Value::if_ternary
IfTernary if_ternary
Definition: nodes.hpp:4419
lib_ruby_parser::ArrayPattern::end_l
MaybeLoc end_l
Definition: nodes.hpp:245
lib_ruby_parser::Masgn::operator_l
Loc operator_l
Definition: nodes.hpp:2447
lib_ruby_parser::Node::Tag::ENSURE
@ ENSURE
lib_ruby_parser::True::expression_l
Loc expression_l
Definition: nodes.hpp:3824
lib_ruby_parser::Node::~Node
~Node()
lib_ruby_parser::Preexe
Represents BEGIN { ... } statement.
Definition: nodes.hpp:3142
lib_ruby_parser::Begin::end_l
MaybeLoc end_l
Definition: nodes.hpp:352
lib_ruby_parser::Node::Tag::NTH_REF
@ NTH_REF
lib_ruby_parser::MatchNilPattern::operator_l
Loc operator_l
Definition: nodes.hpp:2565
lib_ruby_parser::Send::args
NodeList args
A list of arguments.
Definition: nodes.hpp:3565
lib_ruby_parser::Index::begin_l
Loc begin_l
Definition: nodes.hpp:1919
lib_ruby_parser::InPattern::pattern
Node * pattern
Value that is used for matching.
Definition: nodes.hpp:1997
lib_ruby_parser::Cvasgn::value
Node * value
Value that is assigned to class variable, Int("1") for @@foo = 1
Definition: nodes.hpp:938
lib_ruby_parser::Until::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:3906
lib_ruby_parser::Node::Tag::COMPLEX
@ COMPLEX
lib_ruby_parser::Node::Value::or_asgn
OrAsgn or_asgn
Definition: nodes.hpp:4457
lib_ruby_parser::Until::cond
Node * cond
Condition of the loop.
Definition: nodes.hpp:3883
lib_ruby_parser::Node::Tag::Z_SUPER
@ Z_SUPER
lib_ruby_parser::Node::Value::return_
Return return_
Definition: nodes.hpp:4471
lib_ruby_parser::File
Represents a special __FILE__ literal.
Definition: nodes.hpp:1370
lib_ruby_parser::Optarg::default_
Node * default_
Default value of the argument.
Definition: nodes.hpp:2957
lib_ruby_parser::HashPattern::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1643
lib_ruby_parser::Node::Tag::BLOCKARG
@ BLOCKARG
lib_ruby_parser::Node::Tag::LINE
@ LINE
lib_ruby_parser::Blockarg::expression_l
Loc expression_l
Definition: nodes.hpp:438
lib_ruby_parser::UnlessGuard
Represents an unless guard used in pattern matching (i.e. in pattern unless guard)
Definition: nodes.hpp:3854
lib_ruby_parser::Preexe::body
Node * body
Body of the block.
Definition: nodes.hpp:3146
lib_ruby_parser::Complex::value
String value
Value of the complex literal, returned as a String, String("1i") for 1i
Definition: nodes.hpp:737
lib_ruby_parser::Node::Tag::LVAR
@ LVAR
lib_ruby_parser::Kwoptarg::name
String name
Name of the optional keyword argument.
Definition: nodes.hpp:2253
lib_ruby_parser::MatchCurrentLine::expression_l
Loc expression_l
Definition: nodes.hpp:2551
lib_ruby_parser::Dstr::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1160
lib_ruby_parser::Node::Value::line
Line line
Definition: nodes.hpp:4435
lib_ruby_parser::Ensure::expression_l
Loc expression_l
Definition: nodes.hpp:1323
lib_ruby_parser::Node::Value::pin
Pin pin
Definition: nodes.hpp:4459
lib_ruby_parser::ZSuper::expression_l
Loc expression_l
Definition: nodes.hpp:4233
bytes.hpp
lib_ruby_parser::Irange::expression_l
Loc expression_l
Definition: nodes.hpp:2082
lib_ruby_parser::Node::Tag::ARRAY_PATTERN_WITH_TAIL
@ ARRAY_PATTERN_WITH_TAIL
lib_ruby_parser::AndAsgn::expression_l
Loc expression_l
Definition: nodes.hpp:125
lib_ruby_parser::SClass::expression_l
Loc expression_l
Definition: nodes.hpp:3534
lib_ruby_parser::Kwsplat::value
Node * value
Value that is converted into a Hash using **
Definition: nodes.hpp:2318
lib_ruby_parser::MatchWithLvasgn
Definition: nodes.hpp:2710
lib_ruby_parser::Node::Tag::SHADOWARG
@ SHADOWARG
lib_ruby_parser::Node::Tag::KWOPTARG
@ KWOPTARG
lib_ruby_parser::Gvasgn
Represents global variable assignment (i.e. $foo = 42)
Definition: nodes.hpp:1550
lib_ruby_parser::Node::Value::defs
Defs defs
Definition: nodes.hpp:4395
lib_ruby_parser::MatchPattern::value
Node * value
Value that is used for matching.
Definition: nodes.hpp:2590
lib_ruby_parser::Node::Value::unless_guard
UnlessGuard unless_guard
Definition: nodes.hpp:4482
lib_ruby_parser::Node::Tag::ALIAS
@ ALIAS
lib_ruby_parser::Node::Value::rational
Rational rational
Definition: nodes.hpp:4463
lib_ruby_parser::Regexp
Represents regex literal (e.g. /foo/)
Definition: nodes.hpp:3266
lib_ruby_parser::Cvasgn::name_l
Loc name_l
Definition: nodes.hpp:946
lib_ruby_parser::Restarg::operator_l
Loc operator_l
Definition: nodes.hpp:3433
loc.hpp
lib_ruby_parser::Node::Value::def
Def def
Definition: nodes.hpp:4393
lib_ruby_parser::MatchPatternP::value
Node * value
Value that is used for matching.
Definition: nodes.hpp:2618
lib_ruby_parser::NodeList::ptr
Node * ptr
Definition: nodes.hpp:17
lib_ruby_parser::Erange
Represents range literal with excluded end (i.e. 1...3)
Definition: nodes.hpp:1328
lib_ruby_parser::Node::Value::and_asgn
AndAsgn and_asgn
Definition: nodes.hpp:4370
lib_ruby_parser::Node::Value::splat
Splat splat
Definition: nodes.hpp:4476
lib_ruby_parser::Defs::args
Node * args
Definition: nodes.hpp:1085
lib_ruby_parser::Rational
Represents rational literal (e.g. 1r)
Definition: nodes.hpp:3227
lib_ruby_parser::MatchWithLvasgn::re
Node * re
Regex that is used for matching.
Definition: nodes.hpp:2714
lib_ruby_parser::Pair::expression_l
Loc expression_l
Definition: nodes.hpp:3071
lib_ruby_parser::Index
Represents indexing operation (i.e. foo[1,2,3])
Definition: nodes.hpp:1904
lib_ruby_parser::Super::keyword_l
Loc keyword_l
Definition: nodes.hpp:3728
lib_ruby_parser::Rescue::expression_l
Loc expression_l
Definition: nodes.hpp:3359
lib_ruby_parser::FindPattern::begin_l
MaybeLoc begin_l
Definition: nodes.hpp:1400
lib_ruby_parser::Node::Tag::X_HEREDOC
@ X_HEREDOC
lib_ruby_parser::Def::args
Node * args
Definition: nodes.hpp:976
lib_ruby_parser::If::begin_l
Loc begin_l
Definition: nodes.hpp:1738
lib_ruby_parser::Node::Value::hash_pattern
HashPattern hash_pattern
Definition: nodes.hpp:4413
lib_ruby_parser::Node::Value::kwargs
Kwargs kwargs
Definition: nodes.hpp:4428
lib_ruby_parser::Gvar
Represents access to global variable (i.e. $foo)
Definition: nodes.hpp:1533
lib_ruby_parser::Node::Value::array
Array array
Definition: nodes.hpp:4373
lib_ruby_parser::Node::Tag::KW_BEGIN
@ KW_BEGIN
lib_ruby_parser::MatchAs::expression_l
Loc expression_l
Definition: nodes.hpp:2511
lib_ruby_parser::Mlhs
Represents left hand statement of the mass-assignment (i.e. foo, bar in foo, bar = 1,...
Definition: nodes.hpp:2738
lib_ruby_parser::Str::expression_l
Loc expression_l
Definition: nodes.hpp:3711
lib_ruby_parser::Irange::left
Node * left
Begin of the range, None if range has no begin (i.e. ..4)
Definition: nodes.hpp:2063
lib_ruby_parser::Node::Value::break_
Break break_
Definition: nodes.hpp:4381