org.sonar.python.checks
Class CommentRegularExpressionCheck

java.lang.Object
  extended by org.sonar.squidbridge.SquidAstVisitor<G>
      extended by org.sonar.squidbridge.checks.SquidCheck<G>
          extended by org.sonar.squidbridge.checks.AbstractCommentRegularExpressionCheck<com.sonar.sslr.api.Grammar>
              extended by org.sonar.python.checks.CommentRegularExpressionCheck
All Implemented Interfaces:
com.sonar.sslr.api.AstAndTokenVisitor, com.sonar.sslr.api.AstVisitor, org.sonar.squidbridge.api.CodeCheck, org.sonar.squidbridge.api.CodeVisitor

public class CommentRegularExpressionCheck
extends org.sonar.squidbridge.checks.AbstractCommentRegularExpressionCheck<com.sonar.sslr.api.Grammar>


Field Summary
 String message
           
 String regularExpression
           
 
Constructor Summary
CommentRegularExpressionCheck()
           
 
Method Summary
 String getMessage()
           
 String getRegularExpression()
           
 
Methods inherited from class org.sonar.squidbridge.checks.AbstractCommentRegularExpressionCheck
init, visitToken
 
Methods inherited from class org.sonar.squidbridge.checks.SquidCheck
getKey
 
Methods inherited from class org.sonar.squidbridge.SquidAstVisitor
destroy, getAstNodeTypesToVisit, getContext, leaveFile, leaveNode, setContext, subscribeTo, visitFile, visitNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sonar.sslr.api.AstVisitor
getAstNodeTypesToVisit, leaveFile, leaveNode, visitFile, visitNode
 

Field Detail

regularExpression

public String regularExpression

message

public String message
Constructor Detail

CommentRegularExpressionCheck

public CommentRegularExpressionCheck()
Method Detail

getRegularExpression

public String getRegularExpression()
Specified by:
getRegularExpression in class org.sonar.squidbridge.checks.AbstractCommentRegularExpressionCheck<com.sonar.sslr.api.Grammar>

getMessage

public String getMessage()
Specified by:
getMessage in class org.sonar.squidbridge.checks.AbstractCommentRegularExpressionCheck<com.sonar.sslr.api.Grammar>


Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.