Skip navigation links
A C E F G H I K L M N O P R S T V 

A

addIssue(AstNode, String) - Method in class org.sonar.python.PythonCheck
 
addIssue(PythonCheck.IssueLocation) - Method in class org.sonar.python.PythonCheck
 
addIssue(Token, String) - Method in class org.sonar.python.PythonCheck
 
aggregateIfThereIsAlreadyAValue() - Method in enum org.sonar.python.api.PythonMetric
 

C

CharsetAwareVisitor - Interface in org.sonar.python
 
ComplexityVisitor - Class in org.sonar.python.metrics
 
ComplexityVisitor() - Constructor for class org.sonar.python.metrics.ComplexityVisitor
 
compoundStatements(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Compound statements http://docs.python.org/reference/compound_stmts.html
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.IndentationChannel
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.NewLineChannel
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.StringLiteralsChannel
 
cost() - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
cost(double) - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
create() - Static method in enum org.sonar.python.api.PythonGrammar
 
create(PythonConfiguration) - Static method in class org.sonar.python.lexer.PythonLexer
 
create(PythonConfiguration) - Static method in class org.sonar.python.parser.PythonParser
 
create(PythonConfiguration, SquidAstVisitor<Grammar>...) - Static method in class org.sonar.python.PythonAstScanner
 

E

endLine() - Method in class org.sonar.python.PythonCheck.IssueLocation
 
endLine() - Method in class org.sonar.python.TokenLocation
 
endLineOffset() - Method in class org.sonar.python.PythonCheck.IssueLocation
 
endLineOffset() - Method in class org.sonar.python.TokenLocation
 
expressions(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Expressions http://docs.python.org/reference/expressions.html

F

file() - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
FileLinesVisitor - Class in org.sonar.python.metrics
Visitor that computes CoreMetrics.NCLOC_DATA_KEY and CoreMetrics.COMMENT_LINES_DATA_KEY metrics used by the DevCockpit.
FileLinesVisitor(FileLinesContextFactory, FileSystem, Map<InputFile, Set<Integer>>) - Constructor for class org.sonar.python.metrics.FileLinesVisitor
 

G

getCalculatedMetricFormula() - Method in enum org.sonar.python.api.PythonMetric
 
getIgnoreHeaderComments() - Method in class org.sonar.python.PythonConfiguration
 
getIssues() - Method in class org.sonar.python.PythonCheck
 
getName() - Method in enum org.sonar.python.api.PythonKeyword
 
getName() - Method in enum org.sonar.python.api.PythonMetric
 
getName() - Method in enum org.sonar.python.api.PythonPunctuator
 
getName() - Method in enum org.sonar.python.api.PythonTokenType
 
getValue() - Method in enum org.sonar.python.api.PythonKeyword
 
getValue() - Method in enum org.sonar.python.api.PythonPunctuator
 
getValue() - Method in enum org.sonar.python.api.PythonTokenType
 
grammar(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
 

H

hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonKeyword
 
hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonPunctuator
 
hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonTokenType
 

I

IndentationChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#indentation
IndentationChannel(LexerState) - Constructor for class org.sonar.python.lexer.IndentationChannel
 
IndentationPreprocessor - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#indentation
IndentationPreprocessor(LexerState) - Constructor for class org.sonar.python.lexer.IndentationPreprocessor
 
init() - Method in class org.sonar.python.lexer.IndentationPreprocessor
 
init() - Method in class org.sonar.python.metrics.ComplexityVisitor
 
isCalculatedMetric() - Method in enum org.sonar.python.api.PythonMetric
 
IssueLocation(AstNode, String) - Constructor for class org.sonar.python.PythonCheck.IssueLocation
 
IssueLocation(AstNode, AstNode, String) - Constructor for class org.sonar.python.PythonCheck.IssueLocation
 
isThereAggregationFormula() - Method in enum org.sonar.python.api.PythonMetric
 

K

keywordValues() - Static method in enum org.sonar.python.api.PythonKeyword
 

L

leaveFile(AstNode) - Method in class org.sonar.python.metrics.FileLinesVisitor
 
LexerState - Class in org.sonar.python.lexer
 
LexerState() - Constructor for class org.sonar.python.lexer.LexerState
 

M

message() - Method in class org.sonar.python.PythonCheck.IssueLocation
 

N

NewLineChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#explicit-line-joining http://docs.python.org/reference/lexical_analysis.html#implicit-line-joining http://docs.python.org/reference/lexical_analysis.html#blank-lines
NewLineChannel(LexerState) - Constructor for class org.sonar.python.lexer.NewLineChannel
 

O

org.sonar.python - package org.sonar.python
 
org.sonar.python.api - package org.sonar.python.api
 
org.sonar.python.lexer - package org.sonar.python.lexer
 
org.sonar.python.metrics - package org.sonar.python.metrics
 
org.sonar.python.parser - package org.sonar.python.parser
 

P

primaryLocation() - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
process(List<Token>) - Method in class org.sonar.python.lexer.IndentationPreprocessor
 
PythonAstScanner - Class in org.sonar.python
 
PythonCheck - Class in org.sonar.python
 
PythonCheck() - Constructor for class org.sonar.python.PythonCheck
 
PythonCheck.IssueLocation - Class in org.sonar.python
 
PythonCheck.PreciseIssue - Class in org.sonar.python
 
PythonConfiguration - Class in org.sonar.python
 
PythonConfiguration(Charset) - Constructor for class org.sonar.python.PythonConfiguration
 
PythonGrammar - Enum in org.sonar.python.api
 
PythonKeyword - Enum in org.sonar.python.api
http://docs.python.org/reference/lexical_analysis.html#keywords
PythonLexer - Class in org.sonar.python.lexer
 
PythonLinesOfCodeVisitor<G extends com.sonar.sslr.api.Grammar> - Class in org.sonar.python
Visitor that computes the number of lines of code of a file.
PythonLinesOfCodeVisitor(MetricDef) - Constructor for class org.sonar.python.PythonLinesOfCodeVisitor
 
PythonMetric - Enum in org.sonar.python.api
 
PythonParser - Class in org.sonar.python.parser
 
PythonPunctuator - Enum in org.sonar.python.api
 
PythonTokenType - Enum in org.sonar.python.api
 

R

reset() - Method in class org.sonar.python.lexer.LexerState
 

S

scanSingleFile(File, SquidAstVisitor<Grammar>...) - Static method in class org.sonar.python.PythonAstScanner
Helper method for testing checks without having to deploy them on a Sonar instance.
secondary(AstNode, String) - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
secondary(PythonCheck.IssueLocation) - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
secondaryLocations() - Method in class org.sonar.python.PythonCheck.PreciseIssue
 
setCharset(Charset) - Method in interface org.sonar.python.CharsetAwareVisitor
 
setIgnoreHeaderComments(boolean) - Method in class org.sonar.python.PythonConfiguration
 
simpleStatements(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Simple statements http://docs.python.org/reference/simple_stmts.html
startLine() - Method in class org.sonar.python.PythonCheck.IssueLocation
 
startLine() - Method in class org.sonar.python.TokenLocation
 
startLineOffset() - Method in class org.sonar.python.PythonCheck.IssueLocation
 
startLineOffset() - Method in class org.sonar.python.TokenLocation
 
StringLiteralsChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#string-literals
StringLiteralsChannel() - Constructor for class org.sonar.python.lexer.StringLiteralsChannel
 

T

TokenLocation - Class in org.sonar.python
 
TokenLocation(Token) - Constructor for class org.sonar.python.TokenLocation
 

V

valueOf(String) - Static method in enum org.sonar.python.api.PythonGrammar
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonKeyword
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonPunctuator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonTokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonar.python.api.PythonGrammar
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonKeyword
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonPunctuator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonTokenType
Returns an array containing the constants of this enum type, in the order they are declared.
visitFile(AstNode) - Method in class org.sonar.python.PythonLinesOfCodeVisitor
visitNode(AstNode) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitToken(Token) - Method in class org.sonar.python.metrics.FileLinesVisitor
 
visitToken(Token) - Method in class org.sonar.python.PythonLinesOfCodeVisitor
A C E F G H I K L M N O P R S T V 
Skip navigation links

Copyright © 2011–2016 SonarSource and Waleri Enns. All rights reserved.