Package org.sonar.plugins.python
Class SymbolVisitor
java.lang.Object
org.sonar.plugins.python.api.tree.BaseTreeVisitor
org.sonar.plugins.python.SymbolVisitor
- All Implemented Interfaces:
TreeVisitor
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolVisitor(org.sonar.api.batch.sensor.symbol.NewSymbolTable newSymbolTable) -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitClassDef(ClassDef classDef) voidvoidvisitFileInput(FileInput fileInput) voidvisitFunctionDef(FunctionDef functionDef) voidvisitLambda(LambdaExpression lambdaExpression) voidMethods inherited from class org.sonar.plugins.python.api.tree.BaseTreeVisitor
scan, scan, visitAliasedName, visitAnnotatedAssignment, visitArgumentList, visitAsPattern, visitAssertStatement, visitAssignmentExpression, visitAssignmentStatement, visitAwaitExpression, visitBinaryExpression, visitBreakStatement, visitCallExpression, visitCapturePattern, visitCaseBlock, visitClassPattern, visitCompoundAssignment, visitComprehensionFor, visitComprehensionIf, visitConditionalExpression, visitContinueStatement, visitDecorator, visitDelStatement, visitDictionaryLiteral, visitDottedName, visitDoubleStarPattern, visitEllipsis, visitElseClause, visitExceptClause, visitExecStatement, visitExpressionList, visitExpressionStatement, visitFinallyClause, visitFormatSpecifier, visitFormattedExpression, visitForStatement, visitGlobalStatement, visitGroupPattern, visitGuard, visitIfStatement, visitImportFrom, visitImportName, visitKeyValuePair, visitKeyValuePattern, visitKeywordPattern, visitListLiteral, visitLiteralPattern, visitMappingPattern, visitMatchStatement, visitName, visitNone, visitNonlocalStatement, visitNumericLiteral, visitOrPattern, visitParameter, visitParameterList, visitParenthesizedExpression, visitPassStatement, visitPrintStatement, visitQualifiedExpression, visitRaiseStatement, visitRegularArgument, visitRepr, visitReturnStatement, visitSequencePattern, visitSetLiteral, visitSliceExpression, visitSliceItem, visitSliceList, visitStarPattern, visitStatementList, visitStringElement, visitStringLiteral, visitSubscriptionExpression, visitToken, visitTryStatement, visitTuple, visitTupleParameter, visitTypeAliasStatement, visitTypeAnnotation, visitTypeParam, visitTypeParams, visitUnaryExpression, visitUnpackingExpression, visitValuePattern, visitWhileStatement, visitWildcardPattern, visitWithItem, visitWithStatement, visitYieldExpression, visitYieldStatement
-
Constructor Details
-
SymbolVisitor
public SymbolVisitor(org.sonar.api.batch.sensor.symbol.NewSymbolTable newSymbolTable)
-
-
Method Details
-
visitClassDef
- Specified by:
visitClassDefin interfaceTreeVisitor- Overrides:
visitClassDefin classBaseTreeVisitor
-
visitFunctionDef
- Specified by:
visitFunctionDefin interfaceTreeVisitor- Overrides:
visitFunctionDefin classBaseTreeVisitor
-
visitLambda
- Specified by:
visitLambdain interfaceTreeVisitor- Overrides:
visitLambdain classBaseTreeVisitor
-
visitPyListOrSetCompExpression
- Specified by:
visitPyListOrSetCompExpressionin interfaceTreeVisitor- Overrides:
visitPyListOrSetCompExpressionin classBaseTreeVisitor
-
visitDictCompExpression
- Specified by:
visitDictCompExpressionin interfaceTreeVisitor- Overrides:
visitDictCompExpressionin classBaseTreeVisitor
-
visitFileInput
- Specified by:
visitFileInputin interfaceTreeVisitor- Overrides:
visitFileInputin classBaseTreeVisitor
-