Groovy Documentation

groovy.org.codenarc.rule.formatting
[Groovy] Class AbstractSingleSpaceAfterKeywordAstVisitor

java.lang.Object
  org.codenarc.rule.AbstractAstVisitor
      groovy.org.codenarc.rule.formatting.AbstractSingleSpaceAfterKeywordAstVisitor

class AbstractSingleSpaceAfterKeywordAstVisitor
extends AbstractAstVisitor

Abstract superclass for AstVisitor classes that checks that there is exactly one space (blank) after a keyword and before the opening parenthesis.

Authors:
Chris Mair


Method Summary
protected void checkForSingleSpaceAndOpeningParenthesis(org.codehaus.groovy.ast.ASTNode node, String keyword)

 

Method Detail

checkForSingleSpaceAndOpeningParenthesis

protected void checkForSingleSpaceAndOpeningParenthesis(org.codehaus.groovy.ast.ASTNode node, String keyword)


 

Groovy Documentation