Class: Rubycc::Front::AST::StringLit
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::StringLit
- Defined in:
- lib/rubycc/front/ast.rb
Overview
String literal. value is the escape-resolved bytes as an ASCII-8BIT
String, without the NUL terminator. Its type is char (N being the
byte count); in every expression context except sizeof it decays to a
char * pointing at the string's first byte in .rodata.
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token
24 25 26 |
# File 'lib/rubycc/front/ast.rb', line 24 def token @token end |
#value ⇒ Object (readonly)
Returns the value of attribute value
24 25 26 |
# File 'lib/rubycc/front/ast.rb', line 24 def value @value end |