Save the lparen_loc
location using the given saved source so that it can be retrieved later.
Save the rparen_loc
location using the given saved source so that it can be retrieved later.
Save the equal_loc
location using the given saved source so that it can be retrieved later.
attr_reader end_keyword_loc
: Location
?
Save the lparen_loc
location using the given saved source so that it can be retrieved later.
Save the rparen_loc
location using the given saved source so that it can be retrieved later.
Save the keyword_loc
location using the given saved source so that it can be retrieved later.
attr_reader else_keyword_loc
: Location
attr_reader end_keyword_loc
: Location
?
Save the opening_loc
location using the given saved source so that it can be retrieved later.
Save the closing_loc
location using the given saved source so that it can be retrieved later.
attr_reader end_keyword_loc
: Location
Save the opening_loc
location using the given saved source so that it can be retrieved later.
Save the closing_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the opening_loc
location using the given saved source so that it can be retrieved later.
Save the closing_loc
location using the given saved source so that it can be retrieved later.
Save the opening_loc
location using the given saved source so that it can be retrieved later.
Save the closing_loc
location using the given saved source so that it can be retrieved later.
The location of the ‘if` keyword if present.
bar if foo ^^
The ‘if_keyword_loc` field will be `nil` when the `IfNode` represents a ternary expression.