Class: Rubycc::Front::AST::OffsetofMember

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

Overview

One member step of a __builtin_offsetof designator: the member named name of the aggregate reached so far. token is the member identifier, for a "no member named ..." diagnostic.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



381
382
383
# File 'lib/rubycc/front/ast.rb', line 381

def name
  @name
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



381
382
383
# File 'lib/rubycc/front/ast.rb', line 381

def token
  @token
end