class Yadriggy::ArrayRefField

Array reference as L-value.

Public Class Methods

new(sexp) click to toggle source
Calls superclass method Yadriggy::ArrayRef::new
# File lib/yadriggy/ast.rb, line 1041
def initialize(sexp)
  super sexp
end
tag() click to toggle source
# File lib/yadriggy/ast.rb, line 1039
def self.tag() :aref_field end

Public Instance Methods

accept(evaluator) click to toggle source

A method for Visitor pattern. @param [Eval] evaluator the visitor of Visitor pattern. @return [void]

# File lib/yadriggy/ast.rb, line 1048
def accept(evaluator)
  evaluator.array_ref_field(self)
end