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 intDEFAULT_COMPILER_PHASE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.codehaus.groovy.ast.ModuleNodegetAst()intgetAstCompilerPhase()intgetLineNumberForCharacterIndex(int charIndex)List<String>getLines()Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>>getMethodCallExpressions()StringgetName()StringgetPath()SuppressionAnalyzergetSuppressionAnalyzer()StringgetText()booleanisValid()Stringline(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()
-
-