Class: Rubycc::Front::AST::AlignofType
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::AlignofType
- Defined in:
- lib/rubycc/front/ast.rb
Overview
_Alignof ( type-name ) (ISO C 6.5.3.4): the alignment requirement, in
bytes, of a written type. type is the resolved Rubycc::Type. Only the
parenthesized type-name form exists; unlike sizeof there is no operand
form. The result folds to a size_t (unsigned long) constant, exactly
like SizeofType, and is rejected for a void, function or incomplete type.
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token
154 155 156 |
# File 'lib/rubycc/front/ast.rb', line 154 def token @token end |
#type ⇒ Object (readonly)
Returns the value of attribute type
154 155 156 |
# File 'lib/rubycc/front/ast.rb', line 154 def type @type end |