Class: Faust2Ruby::AST::StringLiteral
- Defined in:
- lib/faust2ruby/ast.rb
Overview
String literal
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(value, **opts) ⇒ StringLiteral
constructor
A new instance of StringLiteral.
Constructor Details
#initialize(value, **opts) ⇒ StringLiteral
Returns a new instance of StringLiteral.
142 143 144 145 |
# File 'lib/faust2ruby/ast.rb', line 142 def initialize(value, **opts) super(**opts) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
140 141 142 |
# File 'lib/faust2ruby/ast.rb', line 140 def value @value end |