Class: Glyph::EscapeNode
- Inherits:
-
SyntaxNode
- Object
- Hash
- Node
- SyntaxNode
- Glyph::EscapeNode
- Defined in:
- lib/glyph/syntax_node.rb
Overview
Some escaped text within Glyph Abstract Syntax Tree
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#to_s ⇒ Object
Returns the escaped value.
Methods inherited from SyntaxNode
#evaluate, #inspect, #parent_macro
Methods inherited from Node
#&, #<<, #==, #>>, #ascend, #child, #clear, #descend, #each_child, #find_child, #find_parent, #from, #initialize, #inspect, #root, #to_hash, #to_node
Methods inherited from Hash
Constructor Details
This class inherits a constructor from Node
Instance Method Details
#to_s ⇒ Object
Returns the escaped value
241 242 243 |
# File 'lib/glyph/syntax_node.rb', line 241 def to_s self[:value] end |