A C E F G H I K L N O P R S V

A

aggregateIfThereIsAlreadyAValue() - Method in enum org.sonar.python.api.PythonMetric
 

C

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
 
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

expressions(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Expressions http://docs.python.org/reference/expressions.html

F

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(Project, FileLinesContextFactory) - 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
 
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
 
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
 

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

process(List<Token>) - Method in class org.sonar.python.lexer.IndentationPreprocessor
 
PythonAstScanner - 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<GRAMMAR 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.
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
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
 

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 N O P R S V

Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.