@Beta public class BaseTreeVisitor extends Object implements TreeVisitor, JavaScriptCheck
| Constructor and Description |
|---|
BaseTreeVisitor() |
public TreeVisitorContext getContext()
getContext in interface JavaScriptCheckpublic void scanFile(TreeVisitorContext context)
scanFile in interface JavaScriptCheckprotected <T> void scan(List<T> trees)
public void visitScript(ScriptTree tree)
visitScript in interface TreeVisitorpublic void visitModule(ModuleTree tree)
visitModule in interface TreeVisitorpublic void visitImportDeclaration(ImportDeclarationTree tree)
visitImportDeclaration in interface TreeVisitorpublic void visitImportModuleDeclaration(ImportModuleDeclarationTree tree)
visitImportModuleDeclaration in interface TreeVisitorpublic void visitImportClause(ImportClauseTree tree)
visitImportClause in interface TreeVisitorpublic void visitSpecifierList(SpecifierListTree tree)
visitSpecifierList in interface TreeVisitorpublic void visitSpecifier(SpecifierTree tree)
visitSpecifier in interface TreeVisitorpublic void visitFromClause(FromClauseTree tree)
visitFromClause in interface TreeVisitorpublic void visitDefaultExportDeclaration(DefaultExportDeclarationTree tree)
visitDefaultExportDeclaration in interface TreeVisitorpublic void visitNameSpaceExportDeclaration(NameSpaceExportDeclarationTree tree)
visitNameSpaceExportDeclaration in interface TreeVisitorpublic void visitNamedExportDeclaration(NamedExportDeclarationTree tree)
visitNamedExportDeclaration in interface TreeVisitorpublic void visitVariableStatement(VariableStatementTree tree)
visitVariableStatement in interface TreeVisitorpublic void visitVariableDeclaration(VariableDeclarationTree tree)
visitVariableDeclaration in interface TreeVisitorpublic void visitClassDeclaration(ClassTree tree)
visitClassDeclaration in interface TreeVisitorpublic void visitMethodDeclaration(MethodDeclarationTree tree)
visitMethodDeclaration in interface TreeVisitorpublic void visitParameterList(ParameterListTree tree)
visitParameterList in interface TreeVisitorpublic void visitFunctionDeclaration(FunctionDeclarationTree tree)
visitFunctionDeclaration in interface TreeVisitorpublic void visitBlock(BlockTree tree)
visitBlock in interface TreeVisitorpublic void visitEmptyStatement(EmptyStatementTree tree)
visitEmptyStatement in interface TreeVisitorpublic void visitLabelledStatement(LabelledStatementTree tree)
visitLabelledStatement in interface TreeVisitorpublic void visitExpressionStatement(ExpressionStatementTree tree)
visitExpressionStatement in interface TreeVisitorpublic void visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorpublic void visitElseClause(ElseClauseTree tree)
visitElseClause in interface TreeVisitorpublic void visitForStatement(ForStatementTree tree)
visitForStatement in interface TreeVisitorpublic void visitForInStatement(ForInStatementTree tree)
visitForInStatement in interface TreeVisitorpublic void visitForOfStatement(ForOfStatementTree tree)
visitForOfStatement in interface TreeVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in interface TreeVisitorpublic void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement in interface TreeVisitorpublic void visitContinueStatement(ContinueStatementTree tree)
visitContinueStatement in interface TreeVisitorpublic void visitIdentifier(IdentifierTree tree)
visitIdentifier in interface TreeVisitorpublic void visitBreakStatement(BreakStatementTree tree)
visitBreakStatement in interface TreeVisitorpublic void visitReturnStatement(ReturnStatementTree tree)
visitReturnStatement in interface TreeVisitorpublic void visitWithStatement(WithStatementTree tree)
visitWithStatement in interface TreeVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in interface TreeVisitorpublic void visitDefaultClause(DefaultClauseTree tree)
visitDefaultClause in interface TreeVisitorpublic void visitCaseClause(CaseClauseTree tree)
visitCaseClause in interface TreeVisitorpublic void visitThrowStatement(ThrowStatementTree tree)
visitThrowStatement in interface TreeVisitorpublic void visitTryStatement(TryStatementTree tree)
visitTryStatement in interface TreeVisitorpublic void visitCatchBlock(CatchBlockTree tree)
visitCatchBlock in interface TreeVisitorpublic void visitDebugger(DebuggerStatementTree tree)
visitDebugger in interface TreeVisitorpublic void visitArrayBindingPattern(ArrayBindingPatternTree tree)
visitArrayBindingPattern in interface TreeVisitorpublic void visitObjectBindingPattern(ObjectBindingPatternTree tree)
visitObjectBindingPattern in interface TreeVisitorpublic void visitObjectLiteral(ObjectLiteralTree tree)
visitObjectLiteral in interface TreeVisitorpublic void visitBindingProperty(BindingPropertyTree tree)
visitBindingProperty in interface TreeVisitorpublic void visitInitializedBindingElement(InitializedBindingElementTree tree)
visitInitializedBindingElement in interface TreeVisitorpublic void visitLiteral(LiteralTree tree)
visitLiteral in interface TreeVisitorpublic void visitArrayLiteral(ArrayLiteralTree tree)
visitArrayLiteral in interface TreeVisitorpublic void visitAssignmentExpression(AssignmentExpressionTree tree)
visitAssignmentExpression in interface TreeVisitorpublic void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression in interface TreeVisitorpublic void visitArrowFunction(ArrowFunctionTree tree)
visitArrowFunction in interface TreeVisitorpublic void visitYieldExpression(YieldExpressionTree tree)
visitYieldExpression in interface TreeVisitorpublic void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression in interface TreeVisitorpublic void visitUnaryExpression(UnaryExpressionTree tree)
visitUnaryExpression in interface TreeVisitorpublic void visitMemberExpression(MemberExpressionTree tree)
visitMemberExpression in interface TreeVisitorpublic void visitTaggedTemplate(TaggedTemplateTree tree)
visitTaggedTemplate in interface TreeVisitorpublic void visitCallExpression(CallExpressionTree tree)
visitCallExpression in interface TreeVisitorpublic void visitTemplateLiteral(TemplateLiteralTree tree)
visitTemplateLiteral in interface TreeVisitorpublic void visitTemplateExpression(TemplateExpressionTree tree)
visitTemplateExpression in interface TreeVisitorpublic void visitTemplateCharacters(TemplateCharactersTree tree)
visitTemplateCharacters in interface TreeVisitorpublic void visitParenthesisedExpression(ParenthesisedExpressionTree tree)
visitParenthesisedExpression in interface TreeVisitorpublic void visitComputedPropertyName(ComputedPropertyNameTree tree)
visitComputedPropertyName in interface TreeVisitorpublic void visitPairProperty(PairPropertyTree tree)
visitPairProperty in interface TreeVisitorpublic void visitNewExpression(NewExpressionTree tree)
visitNewExpression in interface TreeVisitorpublic void visitThisTree(ThisTree tree)
visitThisTree in interface TreeVisitorpublic void visitFunctionExpression(FunctionExpressionTree tree)
visitFunctionExpression in interface TreeVisitorpublic void visitRestElement(RestElementTree tree)
visitRestElement in interface TreeVisitorpublic void visitSuper(SuperTreeImpl tree)
visitSuper in interface TreeVisitorpublic void visitExportClause(ExportClauseTree tree)
visitExportClause in interface TreeVisitorpublic void visitAccessorMethodDeclaration(AccessorMethodDeclarationTree tree)
visitAccessorMethodDeclaration in interface TreeVisitorpublic void visitGeneratorMethodDeclaration(GeneratorMethodDeclarationTree tree)
visitGeneratorMethodDeclaration in interface TreeVisitorCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.