Class: Rubycc::Front::AST::VariableRef

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/front/ast.rb

Overview

A reference to a local variable by name.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



125
126
127
# File 'lib/rubycc/front/ast.rb', line 125

def name
  @name
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



125
126
127
# File 'lib/rubycc/front/ast.rb', line 125

def token
  @token
end