class YARP::FlipFlopNode
^^^^^^^^^^
baz if foo .. bar
Represents the use of the ‘..` or `…` operators to create flip flops.
def accept(visitor)
def accept(visitor) visitor.visit_flip_flop_node(self) end
def child_nodes
def child_nodes [left, right] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { left: left, right: right, operator_loc: operator_loc, flags: flags, location: location } end
def exclude_end?
def exclude_end? flags.anybits?(RangeFlags::EXCLUDE_END) end
def initialize(left, right, operator_loc, flags, location)
def initialize(left, right, operator_loc, flags, location) @left = left @right = right @operator_loc = operator_loc @flags = flags @location = location end
def operator
def operator operator_loc.slice end