Class: SyntaxTree::JSON::AST::Null
- Defined in:
- lib/syntax_tree/json/ast.rb
Overview
This represents a null 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
59 60 61 |
# File 'lib/syntax_tree/json/ast.rb', line 59 def accept(visitor) visitor.visit_null(self) end |
#child_nodes ⇒ Object Also known as: deconstruct
63 64 65 |
# File 'lib/syntax_tree/json/ast.rb', line 63 def child_nodes [] end |
#deconstruct_keys(keys) ⇒ Object
69 70 71 |
# File 'lib/syntax_tree/json/ast.rb', line 69 def deconstruct_keys(keys) {} end |