org.codenarc.source
Interface SourceCode

All Known Implementing Classes:
AbstractSourceCode, CustomCompilerPhaseSourceDecorator, SourceFile, SourceString

public interface SourceCode


Field Summary
static int DEFAULT_COMPILER_PHASE
           
 
Method Summary
 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)
           
 

Field Detail

DEFAULT_COMPILER_PHASE

static final int DEFAULT_COMPILER_PHASE
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()

getAstCompilerPhase

int getAstCompilerPhase()

getLineNumberForCharacterIndex

int getLineNumberForCharacterIndex(int charIndex)

isValid

boolean isValid()

getMethodCallExpressions

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


Copyright © 2014. All rights reserved.