Abstract superclass for AstVisitor classes dealing with space around braces
| Type | Name and description |
|---|---|
protected int |
indexOfClosingBrace(String line, int blockLastColumn) |
protected boolean |
isNotCharacter(String line, char c, int index) |
protected boolean |
isNotInsideGString() |
protected boolean |
isNotWhitespace(String line, int index)Return true if the specified (1-based) index is valid and the character at that index is not a whitespace character |
protected String |
lastSourceLineOrEmpty(def node) |
protected String |
sourceLineOrEmpty(def node) |
void |
visitGStringExpression(org.codehaus.groovy.ast.expr.GStringExpression expression) |
Return true if the specified (1-based) index is valid and the character at that index is not a whitespace character
line - - the source line to be checkedindex - - the 1-based index of the character to be checked