Package org.codenarc.source
Interface SourceCode
-
- All Known Implementing Classes:
AbstractSourceCode
,CustomCompilerPhaseSourceDecorator
,SourceFile
,SourceString
public interface SourceCode
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_COMPILER_PHASE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.codehaus.groovy.ast.ModuleNode
getAst()
int
getAstCompilerPhase()
int
getLineNumberForCharacterIndex(int charIndex)
List<String>
getLines()
Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>>
getMethodCallExpressions()
String
getName()
String
getPath()
SuppressionAnalyzer
getSuppressionAnalyzer()
String
getText()
boolean
isValid()
String
line(int lineNumber)
-
-
-
Method Detail
-
getSuppressionAnalyzer
SuppressionAnalyzer getSuppressionAnalyzer()
-
getName
String getName()
-
getPath
String getPath()
-
getText
String getText()
-
line
String line(int lineNumber)
-
getAst
org.codehaus.groovy.ast.ModuleNode getAst()
-
getAstCompilerPhase
int getAstCompilerPhase()
-
getLineNumberForCharacterIndex
int getLineNumberForCharacterIndex(int charIndex)
-
isValid
boolean isValid()
-
-