org.sonar.java.checks
Class ParsingErrorCheck

java.lang.Object
  extended by com.sonar.sslr.squid.SquidAstVisitor<JavaGrammar>
      extended by org.sonar.java.ast.visitors.JavaAstVisitor
          extended by org.sonar.java.ast.visitors.JavaAstCheck
              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 JavaAstCheck
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 org.sonar.java.ast.visitors.JavaAstCheck
getKey
 
Methods inherited from class org.sonar.java.ast.visitors.JavaAstVisitor
peekParentPackage, peekSourceClass, peekSourceFile
 
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 SonarSource. All Rights Reserved.