class Ikra::AST::IVarReadNode

Attributes

identifier[R]

Public Class Methods

new(identifier:) click to toggle source
# File lib/ast/nodes.rb, line 364
def initialize(identifier:)
    @identifier = identifier
end

Public Instance Methods

accept(visitor) click to toggle source
# File lib/ast/visitor.rb, line 86
def accept(visitor)
    visitor.visit_ivar_read_node(self)
end
clone() click to toggle source
# File lib/ast/nodes.rb, line 368
def clone
    return IVarReadNode.new(identifier: @identifier)
end