Class: Stark::Parser::AST::ConstString

Inherits:
Node
  • Object
show all
Defined in:
lib/stark/raw_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ConstString

Returns a new instance of ConstString.



395
396
397
# File 'lib/stark/raw_parser.rb', line 395

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



398
399
400
# File 'lib/stark/raw_parser.rb', line 398

def value
  @value
end