lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents an if
guard used in pattern matching (i.e. case foo; in pattern if guard; end
)
More...
#include <nodes.hpp>
Public Attributes | |
Node * | cond |
Condition of the guard, Lvar("foo") in in pattern if guard More... | |
Loc | keyword_l |
Loc | expression_l |
Represents an if
guard used in pattern matching (i.e. case foo; in pattern if guard; end
)
Loc lib_ruby_parser::IfGuard::expression_l |
Location of the full expression
Loc lib_ruby_parser::IfGuard::keyword_l |
Location of the if
keyword