class SyntaxTree::RegexpBeg


%r{.+}
expression literals can also be declared using the %r syntax, as in:
In the example above, RegexpBeg represents the first / token. Regular
/.+/
RegexpBeg represents the start of a regular expression literal.

def ===(other)

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

def accept(visitor)

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

def child_nodes

def child_nodes
  []
end

def copy(value: nil, location: nil)

def copy(value: nil, location: nil)
  RegexpBeg.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