Class: Antlr4::Runtime::ErrorNodeImpl

Inherits:
TerminalNodeImpl show all
Defined in:
lib/antlr4/runtime/error_node_impl.rb

Instance Attribute Summary

Attributes inherited from TerminalNodeImpl

#parent, #symbol

Instance Method Summary collapse

Methods inherited from TerminalNodeImpl

#child, #child_count, #payload, #source_interval, #text, #to_s, #to_string_tree

Constructor Details

#initialize(token) ⇒ ErrorNodeImpl

Returns a new instance of ErrorNodeImpl


4
5
6
# File 'lib/antlr4/runtime/error_node_impl.rb', line 4

def initialize(token)
  super(token)
end

Instance Method Details

#accept(visitor) ⇒ Object


8
9
10
# File 'lib/antlr4/runtime/error_node_impl.rb', line 8

def accept(visitor)
  visitor.visit_error_node(self)
end