org.sonar.java.checks
Class ParsingErrorCheck

java.lang.Object
  extended by com.sonar.sslr.squid.SquidAstVisitor<G>
      extended by com.sonar.sslr.squid.checks.SquidCheck<org.sonar.sslr.parser.LexerlessGrammar>
          extended by org.sonar.java.checks.ParsingErrorCheck
All Implemented Interfaces:
com.sonar.sslr.api.AstVisitor, com.sonar.sslr.api.AuditListener, com.sonar.sslr.api.RecognitionExceptionListener, org.sonar.squid.api.CodeCheck, org.sonar.squid.api.CodeVisitor

public class ParsingErrorCheck
extends com.sonar.sslr.squid.checks.SquidCheck<org.sonar.sslr.parser.LexerlessGrammar>
implements com.sonar.sslr.api.AuditListener


Constructor Summary
ParsingErrorCheck()
           
 
Method Summary
 void processException(Exception e)
           
 void processRecognitionException(com.sonar.sslr.api.RecognitionException e)
           
 
Methods inherited from class com.sonar.sslr.squid.checks.SquidCheck
getKey
 
Methods inherited from class com.sonar.sslr.squid.SquidAstVisitor
destroy, getAstNodeTypesToVisit, getContext, init, leaveFile, leaveNode, setContext, subscribeTo, visitFile, visitNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsingErrorCheck

public ParsingErrorCheck()
Method Detail

processException

public void processException(Exception e)
Specified by:
processException in interface com.sonar.sslr.api.AuditListener

processRecognitionException

public void processRecognitionException(com.sonar.sslr.api.RecognitionException e)
Specified by:
processRecognitionException in interface com.sonar.sslr.api.RecognitionExceptionListener


Copyright © 2012-2014 SonarSource. All Rights Reserved.