class Ikra::AST::SymbolLiteralNode
Attributes
value[R]
Public Class Methods
new(value:)
click to toggle source
# File lib/ast/nodes.rb, line 416 def initialize(value:) @value = value end
Public Instance Methods
accept(visitor)
click to toggle source
# File lib/ast/visitor.rb, line 116 def accept(visitor) visitor.visit_symbol_node(self) end
clone()
click to toggle source
# File lib/ast/nodes.rb, line 420 def clone return SymbolLiteralNode.new(value: @value) end
to_s()
click to toggle source
# File lib/ast/printer.rb, line 108 def to_s return "<:#{value.to_s}>" end