Class: SyntaxTree::JSON::AST::True
- Defined in:
- lib/syntax_tree/json/ast.rb
Overview
This represents a true in the tree.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #child_nodes ⇒ Object (also: #deconstruct)
- #deconstruct_keys(keys) ⇒ Object
Methods inherited from Node
Instance Method Details
#accept(visitor) ⇒ Object
168 169 170 |
# File 'lib/syntax_tree/json/ast.rb', line 168 def accept(visitor) visitor.visit_true(self) end |
#child_nodes ⇒ Object Also known as: deconstruct
172 173 174 |
# File 'lib/syntax_tree/json/ast.rb', line 172 def child_nodes [] end |
#deconstruct_keys(keys) ⇒ Object
178 179 180 |
# File 'lib/syntax_tree/json/ast.rb', line 178 def deconstruct_keys(keys) {} end |