class Juli::LineAbsyn::ArrayNode

Attributes

array[RW]

Public Class Methods

new() click to toggle source
# File lib/juli/line_parser.tab.rb, line 56
def initialize
  @array      = Array.new
end

Public Instance Methods

accept(visitor) click to toggle source
# File lib/juli/line_parser.tab.rb, line 65
def accept(visitor)
  visitor.visit_array(self)
end
add(child) click to toggle source
# File lib/juli/line_parser.tab.rb, line 60
def add(child)
  @array << child
  self
end