Uses of Interface
org.sonar.plugins.javascript.api.tree.statement.BlockTree
-
Packages that use BlockTree Package Description org.sonar.javascript.cfg org.sonar.javascript.parser org.sonar.javascript.tree.impl.declaration org.sonar.javascript.tree.impl.expression org.sonar.javascript.tree.impl.statement org.sonar.javascript.tree.symbols org.sonar.plugins.javascript.api.tree.declaration Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).org.sonar.plugins.javascript.api.tree.expression Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).org.sonar.plugins.javascript.api.tree.statement Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).org.sonar.plugins.javascript.api.visitors -
-
Uses of BlockTree in org.sonar.javascript.cfg
Methods in org.sonar.javascript.cfg with parameters of type BlockTree Modifier and Type Method Description static ControlFlowGraphControlFlowGraph. build(BlockTree body) -
Uses of BlockTree in org.sonar.javascript.parser
Methods in org.sonar.javascript.parser that return BlockTree Modifier and Type Method Description BlockTreeJavaScriptGrammar. BLOCK()BlockTreeTreeFactory. newBlock(InternalSyntaxToken openingCurlyBrace, com.sonar.sslr.api.typed.Optional<List<StatementTree>> statements, InternalSyntaxToken closingCurlyBrace)Methods in org.sonar.javascript.parser with parameters of type BlockTree Modifier and Type Method Description AccessorMethodDeclarationTreeTreeFactory. accessor(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken, InternalSyntaxToken accessorToken, Tree name, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)FinallyBlockTreeTreeFactory. finallyBlock(InternalSyntaxToken finallyKeyword, BlockTree finallyBlock)FunctionDeclarationTreeTreeFactory. functionAndGeneratorDeclaration(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken, InternalSyntaxToken functionToken, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> starToken, IdentifierTree name, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)FunctionExpressionTreeTreeFactory. functionExpression(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken, InternalSyntaxToken functionKeyword, com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)FunctionExpressionTreeTreeFactory. generatorExpression(InternalSyntaxToken functionKeyword, InternalSyntaxToken starOperator, com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)MethodDeclarationTreeTreeFactory. generatorMethod(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken, InternalSyntaxToken starToken, Tree name, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)MethodDeclarationTreeTreeFactory. method(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken, Tree name, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, ParameterListTree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, BlockTree body)CatchBlockTreeTreeFactory. newCatchBlock(InternalSyntaxToken catchToken, InternalSyntaxToken lparenToken, BindingElementTree catchParameter, InternalSyntaxToken rparenToken, BlockTree block)TryStatementTreeTreeFactory. tryStatementWithCatch(InternalSyntaxToken tryToken, BlockTree block, CatchBlockTree catchBlock, com.sonar.sslr.api.typed.Optional<FinallyBlockTree> finallyBlockTree)TryStatementTreeTreeFactory. tryStatementWithoutCatch(InternalSyntaxToken tryToken, BlockTree block, FinallyBlockTree finallyBlockTree) -
Uses of BlockTree in org.sonar.javascript.tree.impl.declaration
Methods in org.sonar.javascript.tree.impl.declaration that return BlockTree Modifier and Type Method Description BlockTreeAccessorMethodDeclarationTreeImpl. body()BlockTreeFunctionDeclarationTreeImpl. body()BlockTreeMethodDeclarationTreeImpl. body()Constructors in org.sonar.javascript.tree.impl.declaration with parameters of type BlockTree Constructor Description AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators, InternalSyntaxToken staticToken, InternalSyntaxToken accessorToken, Tree name, FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, FlowTypeAnnotationTree returnType, BlockTree body) -
Uses of BlockTree in org.sonar.javascript.tree.impl.expression
Methods in org.sonar.javascript.tree.impl.expression that return BlockTree Modifier and Type Method Description BlockTreeFunctionExpressionTreeImpl. body()Methods in org.sonar.javascript.tree.impl.expression with parameters of type BlockTree Modifier and Type Method Description static FunctionExpressionTreeFunctionExpressionTreeImpl. create(SyntaxToken asyncToken, SyntaxToken functionToken, IdentifierTree name, FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, FlowTypeAnnotationTree returnType, BlockTree body)static FunctionExpressionTreeFunctionExpressionTreeImpl. createGenerator(SyntaxToken functionKeyword, SyntaxToken star, IdentifierTree name, FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, FlowTypeAnnotationTree returnType, BlockTree body) -
Uses of BlockTree in org.sonar.javascript.tree.impl.statement
Classes in org.sonar.javascript.tree.impl.statement that implement BlockTree Modifier and Type Class Description classBlockTreeImplMethods in org.sonar.javascript.tree.impl.statement that return BlockTree Modifier and Type Method Description BlockTreeCatchBlockTreeImpl. block()BlockTreeFinallyBlockTreeImpl. block()BlockTreeTryStatementTreeImpl. block()Constructors in org.sonar.javascript.tree.impl.statement with parameters of type BlockTree Constructor Description CatchBlockTreeImpl(InternalSyntaxToken catchKeyword, InternalSyntaxToken openParenthesis, BindingElementTree parameter, InternalSyntaxToken closeParenthesis, BlockTree block)FinallyBlockTreeImpl(InternalSyntaxToken finallyKeyword, BlockTree block)TryStatementTreeImpl(SyntaxToken tryKeyword, BlockTree block, CatchBlockTree catchBlock, FinallyBlockTree finallyBlock) -
Uses of BlockTree in org.sonar.javascript.tree.symbols
Methods in org.sonar.javascript.tree.symbols with parameters of type BlockTree Modifier and Type Method Description voidHoistedSymbolVisitor. visitBlock(BlockTree tree)voidScopeVisitor. visitBlock(BlockTree tree)voidSymbolVisitor. visitBlock(BlockTree tree) -
Uses of BlockTree in org.sonar.plugins.javascript.api.tree.declaration
Methods in org.sonar.plugins.javascript.api.tree.declaration that return BlockTree Modifier and Type Method Description BlockTreeAccessorMethodDeclarationTree. body()BlockTreeFunctionDeclarationTree. body()BlockTreeMethodDeclarationTree. body() -
Uses of BlockTree in org.sonar.plugins.javascript.api.tree.expression
Methods in org.sonar.plugins.javascript.api.tree.expression that return BlockTree Modifier and Type Method Description BlockTreeFunctionExpressionTree. body() -
Uses of BlockTree in org.sonar.plugins.javascript.api.tree.statement
Methods in org.sonar.plugins.javascript.api.tree.statement that return BlockTree Modifier and Type Method Description BlockTreeCatchBlockTree. block()BlockTreeFinallyBlockTree. block()BlockTreeTryStatementTree. block() -
Uses of BlockTree in org.sonar.plugins.javascript.api.visitors
Methods in org.sonar.plugins.javascript.api.visitors with parameters of type BlockTree Modifier and Type Method Description voidDoubleDispatchVisitor. visitBlock(BlockTree tree)
-