Class: Rubycc::Front::AST::SizeofExpr
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::SizeofExpr
- Defined in:
- lib/rubycc/front/ast.rb
Overview
sizeof operand: the byte size of a unary-expression's result type.
operand is an expression node; the array-to-pointer decay does not
apply to it, so sizeof a measures the whole array.
Instance Attribute Summary collapse
-
#operand ⇒ Object
readonly
Returns the value of attribute operand.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#operand ⇒ Object (readonly)
Returns the value of attribute operand
143 144 145 |
# File 'lib/rubycc/front/ast.rb', line 143 def operand @operand end |
#token ⇒ Object (readonly)
Returns the value of attribute token
143 144 145 |
# File 'lib/rubycc/front/ast.rb', line 143 def token @token end |