Exception: ANTLR3::Error::RewriteEarlyExit

Inherits:
RewriteCardinalityError show all
Defined in:
lib/antlr3/error.rb

Overview

error

RewriteEarlyExit

used by

tree-rewriting parsers and tree parsers

occurs when

A tree-rewrite rule requires one or more occurence of a symbol, but none have been seen.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RewriteCardinalityError

#message

Constructor Details

#initialize(element_description = nil) ⇒ RewriteEarlyExit

Returns a new instance of RewriteEarlyExit.


546
547
548
# File 'lib/antlr3/error.rb', line 546

def initialize( element_description = nil )
  super( element_description )
end

Instance Attribute Details

#element_descriptionObject

Returns the value of attribute element_description


545
546
547
# File 'lib/antlr3/error.rb', line 545

def element_description
  @element_description
end