class YARP::BeginNode

^^^^^
end
foo
begin
Represents a begin statement.

def accept(visitor)

def accept: (visitor: Visitor) -> void
def accept(visitor)
  visitor.visit_begin_node(self)
end

def begin_keyword

def begin_keyword: () -> String?
def begin_keyword
  begin_keyword_loc&.slice
end

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [statements, rescue_clause, else_clause, ensure_clause]
end

def deconstruct_keys(keys)

def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location]
def deconstruct_keys(keys)
  { begin_keyword_loc: begin_keyword_loc, statements: statements, rescue_clause: rescue_clause, else_clause: else_clause, ensure_clause: ensure_clause, end_keyword_loc: end_keyword_loc, location: location }
end

def end_keyword

def end_keyword: () -> String?
def end_keyword
  end_keyword_loc&.slice
end

def initialize(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location)

def initialize: (begin_keyword_loc: Location?, statements: Node?, rescue_clause: Node?, else_clause: Node?, ensure_clause: Node?, end_keyword_loc: Location?, location: Location) -> void
def initialize(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location)
  @begin_keyword_loc = begin_keyword_loc
  @statements = statements
  @rescue_clause = rescue_clause
  @else_clause = else_clause
  @ensure_clause = ensure_clause
  @end_keyword_loc = end_keyword_loc
  @location = location
end

def set_newline_flag(newline_marked)

def set_newline_flag(newline_marked)
  # Never mark BeginNode with a newline flag, mark children instead
end