Class: Rubycc::Front::Parser::Alignas
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::Parser::Alignas
- Defined in:
- lib/rubycc/front/parser.rb
Overview
The alignment an _Alignas specifier run asks for (6.7.5): alignment is
the strongest boundary requested — a declaration may carry several
alignment-specifiers and the largest wins (measured: gcc gives
"_Alignas(8) _Alignas(16) int a" a 16-byte boundary whichever order the
two are written in) — and token is the "_Alignas" that asked for it, so
a diagnostic about the request can be located.
Instance Attribute Summary collapse
-
#alignment ⇒ Object
readonly
Returns the value of attribute alignment.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#alignment ⇒ Object (readonly)
Returns the value of attribute alignment
345 346 347 |
# File 'lib/rubycc/front/parser.rb', line 345 def alignment @alignment end |
#token ⇒ Object (readonly)
Returns the value of attribute token
345 346 347 |
# File 'lib/rubycc/front/parser.rb', line 345 def token @token end |