Class: Rubycc::Front::StringInit
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::StringInit
- Defined in:
- lib/rubycc/front/initializer_resolver.rb
Overview
A run of literal bytes a string initializer places at offset (the raw
string-literal bytes, without the terminating NUL). The caller zero-fills
the whole object first, so the NUL and any trailing array slots come for
free and are not recorded here.
Instance Attribute Summary collapse
-
#bytes ⇒ Object
readonly
Returns the value of attribute bytes.
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Instance Attribute Details
#bytes ⇒ Object (readonly)
Returns the value of attribute bytes
26 27 28 |
# File 'lib/rubycc/front/initializer_resolver.rb', line 26 def bytes @bytes end |
#offset ⇒ Object (readonly)
Returns the value of attribute offset
26 27 28 |
# File 'lib/rubycc/front/initializer_resolver.rb', line 26 def offset @offset end |