Class: IV::Phonic::AST::StringLiteral
- Inherits:
-
Literal
- Object
- Node
- Expression
- Literal
- IV::Phonic::AST::StringLiteral
- Defined in:
- lib/iv/phonic/ast.rb
Instance Method Summary collapse
-
#initialize(parent, expr) ⇒ StringLiteral
constructor
A new instance of StringLiteral.
Methods inherited from Expression
Methods inherited from Node
#begin_position, #end_position, #program, #source
Constructor Details
#initialize(parent, expr) ⇒ StringLiteral
Returns a new instance of StringLiteral.
355 356 357 358 |
# File 'lib/iv/phonic/ast.rb', line 355 def initialize parent, expr super parent, expr @value = expr[:value] end |