class SyntaxTree::RegexpEnd


%r{.+}m
literals using %r, as in:
the regular expression literal. You can also declare regular expression
In the example above, the RegexpEnd event represents the /m at the end of
/.+/m
RegexpEnd represents the end of a regular expression literal.

def ===(other)

def ===(other)
  other.is_a?(RegexpEnd) && value === other.value
end

def accept(visitor)

def accept(visitor)
  visitor.visit_regexp_end(self)
end

def child_nodes

def child_nodes
  []
end

def copy(value: nil, location: nil)

def copy(value: nil, location: nil)
  RegexpEnd.new(
    value: value || self.value,
    location: location || self.location
  )
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  { value: value, location: location }
end

def initialize(value:, location:)

def initialize(value:, location:)
  @value = value
  @location = location
end