class SheepAst::NodeInfo

Message to handle node object

@api private

Public Instance Methods

copy(other) click to toggle source
# File lib/sheep_ast/messages.rb, line 169
def copy(other)
  @node_id = other.node_id.dup
  @match_id = other.match_id.dup
  @kind = other.kind.dup
  @status = other.status.dup
  @store_symbol = other.store_symbol.dup
end
init() click to toggle source
# File lib/sheep_ast/messages.rb, line 178
def init
  @node_id = 0
  @match_id = nil
  @kind = nil
  @status = MatchStatus::Default
  @store_symbol = nil
end