Class: Rubycc::Front::AST::MemberDesignator

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

Overview

A member designator ".identifier" (6.7.9). name is the member's name; token is the "." for diagnostics (an unknown member).

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



122
123
124
# File 'lib/rubycc/front/ast.rb', line 122

def name
  @name
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



122
123
124
# File 'lib/rubycc/front/ast.rb', line 122

def token
  @token
end