Class: Rubycc::Front::AST::OffsetofIndex
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::OffsetofIndex
- Defined in:
- lib/rubycc/front/ast.rb
Overview
One subscript step of a __builtin_offsetof designator: element index
(a constant-expression node) of the array reached so far. token is the
"[" token, for a "subscript of non-array" diagnostic.
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
386 387 388 |
# File 'lib/rubycc/front/ast.rb', line 386 def index @index end |
#token ⇒ Object (readonly)
Returns the value of attribute token
386 387 388 |
# File 'lib/rubycc/front/ast.rb', line 386 def token @token end |