class ANTLR3::Error::RewriteCardinalityError
- error
- used by
-
tree-rewriting parsers and tree parsers
- occurs when
-
There is an inconsistency between the number of appearances of some symbol on the left side of a rewrite rule and the number of the same symbol seen on the right side of a rewrite rule
Attributes
element_description[RW]
Public Class Methods
new( element_description )
click to toggle source
Calls superclass method
# File lib/antlr3/error.rb, line 524 def initialize( element_description ) @element_description = element_description super( message ) end
Public Instance Methods
message()
click to toggle source
# File lib/antlr3/error.rb, line 529 def message "%s: %s" % [ self.class, @element_description ] end