org.codenarc.source
Interface SourceCode

All Known Implementing Classes:
AbstractSourceCode, SourceFile, SourceString

public interface SourceCode


Method Summary
 org.codehaus.groovy.ast.ModuleNode getAst()
           
 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()

getLines

List<String> getLines()

line

String line(int lineNumber)

getAst

org.codehaus.groovy.ast.ModuleNode getAst()

getLineNumberForCharacterIndex

int getLineNumberForCharacterIndex(int charIndex)

isValid

boolean isValid()

getMethodCallExpressions

Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>> getMethodCallExpressions()


Copyright © 2012. All Rights Reserved.