class Yadriggy::ConstPathField

Constant path reference as a L-value.

Public Class Methods

new(sexp) click to toggle source
Calls superclass method Yadriggy::ConstPathRef::new
# File lib/yadriggy/ast.rb, line 586
def initialize(sexp)
  super
end
tags() click to toggle source
# File lib/yadriggy/ast.rb, line 584
def self.tags() [:const_path_field, :top_const_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 593
def accept(evaluator)
  evaluator.const_path_field(self)
end