Class: Juli::LineAbsyn::StringNode
- Defined in:
- lib/juli/line_parser.tab.rb
Instance Attribute Summary collapse
-
#str ⇒ Object
Returns the value of attribute str.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
-
#initialize(str) ⇒ StringNode
constructor
A new instance of StringNode.
Constructor Details
#initialize(str) ⇒ StringNode
Returns a new instance of StringNode.
19 20 21 |
# File 'lib/juli/line_parser.tab.rb', line 19 def initialize(str) @str = str end |
Instance Attribute Details
#str ⇒ Object
Returns the value of attribute str.
17 18 19 |
# File 'lib/juli/line_parser.tab.rb', line 17 def str @str end |
Instance Method Details
#accept(visitor) ⇒ Object
23 24 25 |
# File 'lib/juli/line_parser.tab.rb', line 23 def accept(visitor) visitor.visit_string(self) end |