Class: Rubycc::Front::Parser::Attribute
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::Parser::Attribute
- Defined in:
- lib/rubycc/front/parser.rb
Overview
One parsed GNU attribute: its normalized name, the folded argument
(an integer for "aligned" and for the init attributes' priority, nil for
every other attribute, whose arguments are skipped) and the token that
spelled it, so a diagnostic about the attribute can be located.
Instance Attribute Summary collapse
-
#argument ⇒ Object
readonly
Returns the value of attribute argument.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#argument ⇒ Object (readonly)
Returns the value of attribute argument
337 338 339 |
# File 'lib/rubycc/front/parser.rb', line 337 def argument @argument end |
#name ⇒ Object (readonly)
Returns the value of attribute name
337 338 339 |
# File 'lib/rubycc/front/parser.rb', line 337 def name @name end |
#token ⇒ Object (readonly)
Returns the value of attribute token
337 338 339 |
# File 'lib/rubycc/front/parser.rb', line 337 def token @token end |