Method: ANTLR3::AST::CommonErrorNode#initialize
- Defined in:
- lib/antlr3/tree.rb
#initialize(input, start, stop, error) ⇒ CommonErrorNode
Returns a new instance of CommonErrorNode.
612 613 614 615 616 617 618 619 620 |
# File 'lib/antlr3/tree.rb', line 612 def initialize( input, start, stop, error ) super( nil ) stop = start if stop.nil? or ( stop.token_index < start.token_index and stop.type != EOF ) @input = input @start = start @stop = stop @error = error end |