Module: ANTLR3::Error

Included in:
ANTLR3, AST::CommonErrorNode, AST::RewriteRuleElementStream, AST::TreeAdaptor, DFA, Debug::ParserEvents, Recognizer
Defined in:
lib/antlr3/error.rb

Defined Under Namespace

Classes: BacktrackingFailed, EarlyExit, FailedPredicate, MismatchedNotSet, MismatchedRange, MismatchedSet, MismatchedToken, MismatchedTreeNode, MissingToken, NoViableAlternative, RecognitionError, RewriteCardinalityError, RewriteEarlyExit, RewriteEmptyStream, TreeInconsistency, UnwantedToken

Instance Method Summary (collapse)

Instance Method Details

- (Object) EarlyExit(decision, input = @input)



628
629
630
# File 'lib/antlr3/error.rb', line 628

def EarlyExit( decision, input = @input )
  EarlyExit.new( decision, input )
end

- (Object) FailedPredicate(rule, predicate, input = @input)



632
633
634
# File 'lib/antlr3/error.rb', line 632

def FailedPredicate( rule, predicate, input = @input )
  FailedPredicate.new( input, rule, predicate )
end

- (Object) MismatchedNotSet(expecting, input = @input)



620
621
622
# File 'lib/antlr3/error.rb', line 620

def MismatchedNotSet( expecting, input = @input )
  MismatchedNotSet.new( expecting, input )
end

- (Object) MismatchedRange(min, max, input = @input)



612
613
614
# File 'lib/antlr3/error.rb', line 612

def MismatchedRange( min, max, input = @input )
  MismatchedRange.new( min, max, input )
end

- (Object) MismatchedSet(expecting, input = @input)



616
617
618
# File 'lib/antlr3/error.rb', line 616

def MismatchedSet( expecting, input = @input )
  MismatchedSet.new( expecting, input )
end

- (Object) MismatchedToken(expecting, input = @input)



600
601
602
# File 'lib/antlr3/error.rb', line 600

def MismatchedToken( expecting, input = @input )
  MismatchedToken.new( expecting, input )
end

- (Object) MismatchedTreeNode(expecting, input = @input)



636
637
638
# File 'lib/antlr3/error.rb', line 636

def MismatchedTreeNode( expecting, input = @input )
  MismatchedTreeNode.new( expecting, input )
end

- (Object) MissingToken(expecting, inserted, input = @input)



608
609
610
# File 'lib/antlr3/error.rb', line 608

def MissingToken( expecting, inserted, input = @input )
  MissingToken.new( expecting, input, inserted )
end

- (Object) NoViableAlternative(description, decision, state, input = @input)



624
625
626
# File 'lib/antlr3/error.rb', line 624

def NoViableAlternative( description, decision, state, input = @input )
  NoViableAlternative.new( description, decision, state, input )
end

- (Object) RewriteCardinalityError(element_description)



640
641
642
# File 'lib/antlr3/error.rb', line 640

def RewriteCardinalityError( element_description )
  RewriteCardinalityError.new( element_description )
end

- (Object) RewriteEarlyExit(element_description = nil)



644
645
646
# File 'lib/antlr3/error.rb', line 644

def RewriteEarlyExit( element_description = nil )
  RewriteEarlyExit.new( element_description )
end

- (Object) RewriteEmptyStream(element_description)



648
649
650
# File 'lib/antlr3/error.rb', line 648

def RewriteEmptyStream( element_description )
  RewriteEmptyStream.new( element_description )
end

- (Object) UnwantedToken(expecting, input = @input)



604
605
606
# File 'lib/antlr3/error.rb', line 604

def UnwantedToken( expecting, input = @input )
  UnwantedToken.new( expecting, input )
end