Class: Yadriggy::IdentifierOrCall Abstract

Inherits:
Name show all
Defined in:
lib/yadriggy/ast.rb

Overview

This class is abstract.

The super class of Identifier and VariableCall.

Direct Known Subclasses

Identifier, VariableCall

Instance Attribute Summary

Attributes inherited from Name

#column, #line_no, #name

Attributes inherited from ASTnode

#parent, #usertype

Instance Method Summary collapse

Methods inherited from Name

#to_sym

Methods inherited from ASTnode

#add_child, #add_children, #const_value, #const_value_in_class, #get_context_class, #get_receiver_object, #is_proc?, #pretty_print, #root, #source_location, #source_location_string, #value, #value_in_class

Constructor Details

#initialize(sexp) ⇒ IdentifierOrCall

Returns a new instance of IdentifierOrCall.



103
104
105
# File 'lib/yadriggy/ast.rb', line 103

def initialize(sexp)
  super(sexp)
end