Uses of Interface
org.sonar.plugins.javascript.api.tree.Tree
-
-
Uses of Tree in org.sonar.javascript.cfg
Methods in org.sonar.javascript.cfg that return Tree Modifier and Type Method Description TreeCfgBranchingBlock. branchingTree()Syntax tree causing branching: e.g.Methods in org.sonar.javascript.cfg that return types with arguments of type Tree Modifier and Type Method Description List<Tree>CfgBlock. elements() -
Uses of Tree in org.sonar.javascript.parser
Methods in org.sonar.javascript.parser that return Tree Modifier and Type Method Description TreeJavaScriptGrammar. ASSIGNMENT_PATTERN_ELEMENT()TreeJavaScriptGrammar. ASSIGNMENT_PROPERTY()TreeJavaScriptGrammar. CLASS_ELEMENT()TreeJavaScriptParser. parse(File file)TreeJavaScriptParser. parse(String source)TreeJavaScriptGrammar. PROPERTY_DEFINITION()TreeJavaScriptGrammar. PROPERTY_NAME()Methods in org.sonar.javascript.parser that return types with arguments of type Tree Modifier and Type Method Description List<Tree>JavaScriptGrammar. ARRAY_ELEMENT_LIST()List<Tree>TreeFactory. arrayLiteralElements(com.sonar.sslr.api.typed.Optional<List<InternalSyntaxToken>> commaTokens, ExpressionTree element, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<List<InternalSyntaxToken>,ExpressionTree>>> restElements, com.sonar.sslr.api.typed.Optional<List<InternalSyntaxToken>> restCommas)From ECMAScript 6 draft: Whenever a comma in the element list is not preceded by an AssignmentExpression i.e., a comma at the beginning or after another comma), the missing array element contributes to the length of the Array and increases the index of subsequent elements.static com.sonar.sslr.api.typed.ActionParser<Tree>JavaScriptParserBuilder. createParser()static com.sonar.sslr.api.typed.ActionParser<Tree>JavaScriptParserBuilder. createVueParser()SeparatedList<Tree>JavaScriptGrammar. FLOW_OBJECT_TYPE_PROPERTIES()SeparatedList<Tree>TreeFactory. properties(Tree property, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,Tree>>> restProperties, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> trailingComma)SeparatedList<Tree>JavaScriptGrammar. PROPERTIES()List<Tree>TreeFactory. tokenList(List<InternalSyntaxToken> list)Methods in org.sonar.javascript.parser with parameters of type Tree 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)ArrowFunctionTreeTreeFactory. arrowFunction(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause, Tree parameters, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType, Tree spacingNoLB, InternalSyntaxToken doubleArrow, Tree body)ExpressionTreeTreeFactory. assignmentNoCurly(Tree lookahead, ExpressionTree expression)BindingPropertyTreeTreeFactory. bindingProperty(Tree propertyName, InternalSyntaxToken colonToken, BindingElementTree bindingElement)BreakStatementTreeTreeFactory. breakWithLabel(InternalSyntaxToken breakToken, InternalSyntaxToken labelToken, Tree semicolonToken)BreakStatementTreeTreeFactory. breakWithoutLabel(InternalSyntaxToken breakToken, Tree semicolonToken)ContinueStatementTreeTreeFactory. continueWithLabel(InternalSyntaxToken continueToken, InternalSyntaxToken labelToken, Tree semicolonToken)ContinueStatementTreeTreeFactory. continueWithoutLabel(InternalSyntaxToken continueToken, Tree semicolonToken)DebuggerStatementTreeTreeFactory. debuggerStatement(InternalSyntaxToken debuggerWord, Tree semicolonToken)ExpressionTreeTreeFactory. defaultExportExpression(Tree lookahead, ExpressionTree expression)DoWhileStatementTreeTreeFactory. doWhileStatement(InternalSyntaxToken doToken, StatementTree statement, InternalSyntaxToken whileToken, InternalSyntaxToken openParenthesis, ExpressionTree condition, InternalSyntaxToken closeParenthesis, Tree semicolonToken)ExportClauseTreeTreeFactory. exportClause(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> flowTypeKeywordToken, NamedImportExportClauseTree exportList, com.sonar.sslr.api.typed.Optional<FromClauseTree> fromClause, Tree semicolonToken)ExportDefaultBindingTreeFactory. exportDefaultBinding(IdentifierTree identifierTree, FromClauseTree fromClauseTree, Tree semicolonToken)ExportDefaultBindingWithExportListTreeFactory. exportDefaultBindingWithExportList(IdentifierTree identifierTree, InternalSyntaxToken commaToken, NamedImportExportClauseTree namedImportsTree, FromClauseTree fromClauseTree, Tree semicolon)ExportDefaultBindingWithNameSpaceExportTreeFactory. exportDefaultBindingWithNameSpaceExport(IdentifierTree identifierTree, InternalSyntaxToken commaToken, InternalSyntaxToken starToken, InternalSyntaxToken asToken, IdentifierTree synonymIdentifier, FromClauseTree fromClause, Tree semicolon)ExpressionTreeTreeFactory. expressionNoLineBreak(Tree spacingNoLineBreak, ExpressionTree expression)ExpressionStatementTreeTreeFactory. expressionStatement(ExpressionTree expression, Tree semicolonToken)ExtendsClauseTreeTreeFactory. extendsClause(InternalSyntaxToken extendsToken, Tree superClass)FieldDeclarationTreeTreeFactory. fieldDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken, Tree propertyName, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> typeAnnotation, com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ExpressionTree>> initializer, Tree semicolonToken)FlowDeclareTreeTreeFactory. flowDeclare(InternalSyntaxToken declareToken, Tree declaredObject, com.sonar.sslr.api.typed.Optional<Tree> eosToken)DefaultExportDeclarationTreeTreeFactory. flowExportDefaultType(InternalSyntaxToken exportToken, InternalSyntaxToken defaultToken, FlowTypeTree type, Tree eos)FlowTypeAliasStatementTreeTreeFactory. flowTypeAliasStatement(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> opaqueToken, InternalSyntaxToken typeToken, IdentifierTree identifierTree, com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> generic, com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> superTypeAnnotation, InternalSyntaxToken equalToken, FlowTypeTree flowTypeTree, Tree semicolonToken)FlowTypeofTypeTreeTreeFactory. flowTypeofType(InternalSyntaxToken typeofToken, Tree value)ForObjectStatementTreeTreeFactory. forInStatement(InternalSyntaxToken forToken, InternalSyntaxToken openParenthesis, Tree variableOrExpression, InternalSyntaxToken inToken, ExpressionTree expression, InternalSyntaxToken closeParenthesis, StatementTree statement)ForObjectStatementTreeTreeFactory. forOfStatement(InternalSyntaxToken forToken, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> awaitToken, InternalSyntaxToken openParenthesis, Tree variableOrExpression, InternalSyntaxToken ofToken, ExpressionTree expression, InternalSyntaxToken closeParenthesis, StatementTree statement)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)ImportDeclarationTreeTreeFactory. importDeclaration(InternalSyntaxToken importToken, InternalSyntaxToken typeToken, ImportClauseTree importClause, FromClauseTree fromClause, Tree semicolonToken)ImportDeclarationTreeTreeFactory. importDeclaration(InternalSyntaxToken importToken, ImportClauseTree importClause, FromClauseTree fromClause, Tree semicolonToken)ImportModuleDeclarationTreeTreeFactory. importModuleDeclaration(InternalSyntaxToken importToken, LiteralTree moduleName, Tree semicolonToken)InternalSyntaxTokenTreeFactory. labelToken(Tree spacing, InternalSyntaxToken labelToken)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)NamedExportDeclarationTreeTreeFactory. namedExportDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators, InternalSyntaxToken exportToken, Tree object)NameSpaceExportDeclarationTreeTreeFactory. namespaceExportDeclaration(InternalSyntaxToken exportToken, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> flowTypeKeywordToken, InternalSyntaxToken starToken, com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>> nameSpaceExport, FromClauseTree fromClause, Tree semicolonToken)ThrowStatementTreeTreeFactory. newThrowStatement(InternalSyntaxToken throwToken, ExpressionTree expression, Tree semicolonToken)ObjectAssignmentPatternTreeTreeFactory. objectAssignmentPattern(InternalSyntaxToken lBrace, Tree firstProperty, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,Tree>>> properties, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> comma, InternalSyntaxToken rBrace)ObjectAssignmentPatternPairElementTreeTreeFactory. objectAssignmentPatternPairElement(IdentifierTree identifierName, InternalSyntaxToken colonToken, Tree rhs)PairPropertyTreeTreeFactory. pairProperty(Tree name, InternalSyntaxToken colonToken, ExpressionTree value)SeparatedList<Tree>TreeFactory. properties(Tree property, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,Tree>>> restProperties, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> trailingComma)ReturnStatementTreeTreeFactory. returnWithExpression(InternalSyntaxToken returnToken, ExpressionTree expression, Tree semicolonToken)ReturnStatementTreeTreeFactory. returnWithoutExpression(InternalSyntaxToken returnToken, Tree semicolonToken)ScriptTreeTreeFactory. script(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> shebangToken, com.sonar.sslr.api.typed.Optional<ModuleTree> items, Tree spacing, InternalSyntaxToken eof)ExpressionTreeTreeFactory. skipLookahead(Tree lookahead, ExpressionTree expression)ExpressionTreeTreeFactory. skipLookaheadAfter(ExpressionTree expression, Tree lookahead)VariableStatementTreeTreeFactory. variableStatement(VariableDeclarationTree declaration, Tree semicolonToken)ScriptTreeTreeFactory. vueScript(com.sonar.sslr.api.typed.Optional<List<org.sonar.javascript.parser.TreeFactory.VueElement>> vueElements, Tree noSpacing, InternalSyntaxToken eofToken)Method parameters in org.sonar.javascript.parser with type arguments of type Tree Modifier and Type Method Description ArrayAssignmentPatternTreeTreeFactory. arrayAssignmentPattern(InternalSyntaxToken openBracketToken, com.sonar.sslr.api.typed.Optional<Tree> firstElement, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,com.sonar.sslr.api.typed.Optional<Tree>>>> optionalElements, com.sonar.sslr.api.typed.Optional<Tree> restElement, InternalSyntaxToken closeBracketToken)ArrayLiteralTreeTreeFactory. arrayLiteral(InternalSyntaxToken openBracketToken, com.sonar.sslr.api.typed.Optional<List<Tree>> elements, InternalSyntaxToken closeBracket)FlowDeclareTreeTreeFactory. flowDeclare(InternalSyntaxToken declareToken, Tree declaredObject, com.sonar.sslr.api.typed.Optional<Tree> eosToken)FlowObjectTypeTreeTreeFactory. flowObjectType(SyntaxToken lcurly, com.sonar.sslr.api.typed.Optional<SeparatedList<Tree>> properties, SyntaxToken rcurly)FlowObjectTypeTreeTreeFactory. flowStrictObjectType(SyntaxToken lcurly, SyntaxToken lpipe, com.sonar.sslr.api.typed.Optional<SeparatedList<Tree>> properties, SyntaxToken rpipe, SyntaxToken rcurly)ForStatementTreeTreeFactory. forStatement(InternalSyntaxToken forToken, InternalSyntaxToken openParenthesis, com.sonar.sslr.api.typed.Optional<Tree> init, InternalSyntaxToken firstSemiToken, com.sonar.sslr.api.typed.Optional<ExpressionTree> condition, InternalSyntaxToken secondSemiToken, com.sonar.sslr.api.typed.Optional<ExpressionTree> update, InternalSyntaxToken closeParenthesis, StatementTree statement)ModuleTreeTreeFactory. module(List<Tree> items)ObjectAssignmentPatternTreeTreeFactory. objectAssignmentPattern(InternalSyntaxToken lBrace, Tree firstProperty, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,Tree>>> properties, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> comma, InternalSyntaxToken rBrace)ObjectLiteralTreeTreeFactory. objectLiteral(InternalSyntaxToken openCurlyToken, com.sonar.sslr.api.typed.Optional<SeparatedList<Tree>> properties, InternalSyntaxToken closeCurlyToken)SeparatedList<Tree>TreeFactory. properties(Tree property, com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,Tree>>> restProperties, com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> trailingComma) -
Uses of Tree in org.sonar.javascript.se
Methods in org.sonar.javascript.se with parameters of type Tree Modifier and Type Method Description PreciseIssueSeCheck. addIssue(Tree tree, String message)LineIssueSeCheck. addLineIssue(Tree tree, String message)Deprecated.voidSeCheck. afterBlockElement(ProgramState currentState, Tree element)Override this method to perform actions after executingelement.voidProgramState. assertEmptyStack(Tree element)voidSeCheck. beforeBlockElement(ProgramState currentState, Tree element, ProgramPoint programPoint)Override this method to perform actions before executingelement.ProgramStateProgramState. clearStack(Tree element)UsageLiveVariableAnalysis.Usages. getUsage(Tree element)voidSeChecksDispatcher. leaveNode(Tree tree)SymbolSymbolicExecution. trackedVariable(Tree tree)voidSeChecksDispatcher. visitNode(Tree tree)Method parameters in org.sonar.javascript.se with type arguments of type Tree Modifier and Type Method Description voidSeCheck. checkConditions(Map<Tree,Collection<Constraint>> conditions)Override this method to check the constraints on conditions (TRUTHY or FALSY) in current execution (aka function scope). -
Uses of Tree in org.sonar.javascript.se.limitations
Methods in org.sonar.javascript.se.limitations with parameters of type Tree Modifier and Type Method Description ProgramStateCrossProceduralLimitation. prepareForBranching(Tree condition, ProgramState currentState) -
Uses of Tree in org.sonar.javascript.se.points
Methods in org.sonar.javascript.se.points with parameters of type Tree Modifier and Type Method Description static ProgramPointProgramPoint. create(Tree element, SymbolicExecution execution)static booleanBitwiseBinaryProgramPoint. originatesFrom(Tree element)static booleanIdentifierProgramPoint. originatesFrom(Tree element)static booleanLiteralProgramPoint. originatesFrom(Tree element)static booleanMemberProgramPoint. originatesFrom(Tree element)static booleanPlusProgramPoint. originatesFrom(Tree element)static booleanStrictlyArithmeticBinaryProgramPoint. originatesFrom(Tree element)static booleanUnaryNumericProgramPoint. originatesFrom(Tree element)Constructors in org.sonar.javascript.se.points with parameters of type Tree Constructor Description IdentifierProgramPoint(Tree tree, SymbolicExecution execution)LiteralProgramPoint(Tree tree)MemberProgramPoint(Tree element)UnaryNumericProgramPoint(Tree element, SymbolicExecution execution) -
Uses of Tree in org.sonar.javascript.tree
Methods in org.sonar.javascript.tree with parameters of type Tree Modifier and Type Method Description static booleanSyntacticEquivalence. areEquivalent(Tree leftNode, Tree rightNode)Method parameters in org.sonar.javascript.tree with type arguments of type Tree Modifier and Type Method Description static booleanSyntacticEquivalence. areEquivalent(List<? extends Tree> leftList, List<? extends Tree> rightList) -
Uses of Tree in org.sonar.javascript.tree.impl
Classes in org.sonar.javascript.tree.impl that implement Tree Modifier and Type Class Description classJavaScriptTreeMethods in org.sonar.javascript.tree.impl that return Tree Modifier and Type Method Description TreeJavaScriptTree. parent()Methods in org.sonar.javascript.tree.impl that return types with arguments of type Tree Modifier and Type Method Description abstract Iterator<Tree>JavaScriptTree. childrenIterator()Creates iterator for children of this node.Stream<Tree>JavaScriptTree. childrenStream()Iterator<Tree>SeparatedListImpl. elementsAndSeparators(com.google.common.base.Function<T,? extends Tree> elementTransformer)Methods in org.sonar.javascript.tree.impl with parameters of type Tree Modifier and Type Method Description booleanJavaScriptTree. isAncestorOf(Tree tree)voidJavaScriptTree. setParent(Tree parent)Method parameters in org.sonar.javascript.tree.impl with type arguments of type Tree Modifier and Type Method Description Iterator<Tree>SeparatedListImpl. elementsAndSeparators(com.google.common.base.Function<T,? extends Tree> elementTransformer) -
Uses of Tree in org.sonar.javascript.tree.impl.declaration
Methods in org.sonar.javascript.tree.impl.declaration that return Tree Modifier and Type Method Description TreeAccessorMethodDeclarationTreeImpl. name()TreeBindingPropertyTreeImpl. name()TreeMethodDeclarationTreeImpl. name()TreeDefaultExportDeclarationTreeImpl. object()TreeNamedExportDeclarationTreeImpl. object()TreeFieldDeclarationTreeImpl. propertyName()TreeExtendsClauseTreeImpl. superClass()Methods in org.sonar.javascript.tree.impl.declaration that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>AccessorMethodDeclarationTreeImpl. childrenIterator()Iterator<Tree>ArrayBindingPatternTreeImpl. childrenIterator()Iterator<Tree>BindingPropertyTreeImpl. childrenIterator()Iterator<Tree>ClassTreeImpl. childrenIterator()Iterator<Tree>DecoratorTreeImpl. childrenIterator()Iterator<Tree>DefaultExportDeclarationTreeImpl. childrenIterator()Iterator<Tree>ExportClauseTreeImpl. childrenIterator()Iterator<Tree>ExportDefaultBindingImpl. childrenIterator()Iterator<Tree>ExportDefaultBindingWithExportListImpl. childrenIterator()Iterator<Tree>ExportDefaultBindingWithNameSpaceExportImpl. childrenIterator()Iterator<Tree>ExtendsClauseTreeImpl. childrenIterator()Iterator<Tree>FieldDeclarationTreeImpl. childrenIterator()Iterator<Tree>FromClauseTreeImpl. childrenIterator()Iterator<Tree>FunctionDeclarationTreeImpl. childrenIterator()Iterator<Tree>ImportClauseTreeImpl. childrenIterator()Iterator<Tree>ImportDeclarationTreeImpl. childrenIterator()Iterator<Tree>ImportModuleDeclarationTreeImpl. childrenIterator()Iterator<Tree>InitializedBindingElementTreeImpl. childrenIterator()Iterator<Tree>MethodDeclarationTreeImpl. childrenIterator()Iterator<Tree>ModuleTreeImpl. childrenIterator()Iterator<Tree>NamedExportDeclarationTreeImpl. childrenIterator()Iterator<Tree>NamedImportExportClauseTreeImpl. childrenIterator()Iterator<Tree>NameSpaceExportDeclarationTreeImpl. childrenIterator()Iterator<Tree>NameSpaceImportTreeImpl. childrenIterator()Iterator<Tree>ObjectBindingPatternTreeImpl. childrenIterator()Iterator<Tree>ParameterListTreeImpl. childrenIterator()Iterator<Tree>ScriptTreeImpl. childrenIterator()Iterator<Tree>SpecifierTreeImpl. childrenIterator()List<Tree>ClassTreeImpl. elements()List<Tree>ModuleTreeImpl. items()Methods in org.sonar.javascript.tree.impl.declaration with parameters of type Tree Modifier and Type Method Description static MethodDeclarationTreeImplMethodDeclarationTreeImpl. generator(List<DecoratorTree> decorators, InternalSyntaxToken staticToken, InternalSyntaxToken starToken, Tree name, FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, FlowTypeAnnotationTree returnType, BlockTree body)static MethodDeclarationTreeImplMethodDeclarationTreeImpl. method(List<DecoratorTree> decorators, InternalSyntaxToken staticToken, InternalSyntaxToken asyncToken, Tree name, FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, FlowTypeAnnotationTree returnType, BlockTree body)Constructor parameters in org.sonar.javascript.tree.impl.declaration with type arguments of type Tree Constructor Description ModuleTreeImpl(List<Tree> items) -
Uses of Tree in org.sonar.javascript.tree.impl.expression
Methods in org.sonar.javascript.tree.impl.expression that return Tree Modifier and Type Method Description TreeArrowFunctionTreeImpl. body()TreeObjectAssignmentPatternPairElementTreeImpl. element()TreePairPropertyTreeImpl. key()TreeArrowFunctionTreeImpl. name()TreeArrowFunctionTreeImpl. parameterClause()Methods in org.sonar.javascript.tree.impl.expression that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>ArgumentListTreeImpl. childrenIterator()Iterator<Tree>ArrayAssignmentPatternTreeImpl. childrenIterator()Iterator<Tree>ArrayLiteralTreeImpl. childrenIterator()Iterator<Tree>ArrowFunctionTreeImpl. childrenIterator()Iterator<Tree>AssignmentExpressionTreeImpl. childrenIterator()Iterator<Tree>AssignmentPatternRestElementTreeImpl. childrenIterator()Iterator<Tree>BinaryExpressionTreeImpl. childrenIterator()Iterator<Tree>BracketMemberExpressionTreeImpl. childrenIterator()Iterator<Tree>CallExpressionTreeImpl. childrenIterator()Iterator<Tree>ComputedPropertyNameTreeImpl. childrenIterator()Iterator<Tree>ConditionalExpressionTreeImpl. childrenIterator()Iterator<Tree>DotMemberExpressionTreeImpl. childrenIterator()Iterator<Tree>FunctionExpressionTreeImpl. childrenIterator()Iterator<Tree>IdentifierTreeImpl. childrenIterator()Iterator<Tree>ImportTreeImpl. childrenIterator()Iterator<Tree>InitializedAssignmentPatternElementTreeImpl. childrenIterator()Iterator<Tree>LiteralTreeImpl. childrenIterator()Iterator<Tree>NewExpressionTreeImpl. childrenIterator()Iterator<Tree>NewTargetTreeImpl. childrenIterator()Iterator<Tree>ObjectAssignmentPatternPairElementTreeImpl. childrenIterator()Iterator<Tree>ObjectAssignmentPatternTreeImpl. childrenIterator()Iterator<Tree>ObjectLiteralTreeImpl. childrenIterator()Iterator<Tree>PairPropertyTreeImpl. childrenIterator()Iterator<Tree>ParenthesisedExpressionTreeImpl. childrenIterator()Iterator<Tree>PostfixExpressionTreeImpl. childrenIterator()Iterator<Tree>PrefixExpressionTreeImpl. childrenIterator()Iterator<Tree>RestElementTreeImpl. childrenIterator()Iterator<Tree>SpreadElementTreeImpl. childrenIterator()Iterator<Tree>SuperTreeImpl. childrenIterator()Iterator<Tree>TaggedTemplateTreeImpl. childrenIterator()Iterator<Tree>TemplateCharactersTreeImpl. childrenIterator()Iterator<Tree>TemplateExpressionTreeImpl. childrenIterator()Iterator<Tree>TemplateLiteralTreeImpl. childrenIterator()Iterator<Tree>YieldExpressionTreeImpl. childrenIterator()SeparatedList<Optional<Tree>>ArrayAssignmentPatternTreeImpl. elements()SeparatedList<Tree>ObjectAssignmentPatternTreeImpl. elements()List<Tree>ArrayLiteralTreeImpl. elementsAndCommas()SeparatedList<Tree>ObjectLiteralTreeImpl. properties()Constructors in org.sonar.javascript.tree.impl.expression with parameters of type Tree Constructor Description ArrowFunctionTreeImpl(SyntaxToken asyncToken, FlowGenericParameterClauseTree genericParameterClause, Tree parameters, FlowTypeAnnotationTree returnType, InternalSyntaxToken doubleArrow, Tree body)ObjectAssignmentPatternPairElementTreeImpl(IdentifierTree key, SyntaxToken colonToken, Tree element)PairPropertyTreeImpl(Tree key, InternalSyntaxToken operator, ExpressionTree value)Constructor parameters in org.sonar.javascript.tree.impl.expression with type arguments of type Tree Constructor Description ArrayAssignmentPatternTreeImpl(SyntaxToken openBracketToken, SeparatedList<Optional<Tree>> elements, SyntaxToken closeBracketToken)ArrayLiteralTreeImpl(SyntaxToken openBracket, List<Tree> elementsAndCommas, SyntaxToken closeBracket)ObjectAssignmentPatternTreeImpl(SyntaxToken openBraceToken, SeparatedList<Tree> elements, SyntaxToken closeBraceToken)ObjectLiteralTreeImpl(InternalSyntaxToken openCurlyBrace, SeparatedList<Tree> properties, InternalSyntaxToken closeCurlyBrace)TemplateLiteralTreeImpl(InternalSyntaxToken openBacktick, List<Tree> elements, InternalSyntaxToken closeBacktick) -
Uses of Tree in org.sonar.javascript.tree.impl.expression.jsx
Classes in org.sonar.javascript.tree.impl.expression.jsx that implement Tree Modifier and Type Class Description classJsxClosingElementTreeImplclassJsxEmptyClosingElementTreeImplclassJsxEmptyOpeningElementTreeImplclassJsxIdentifierTreeImplclassJsxJavaScriptExpressionTreeImplclassJsxOpeningElementTreeImplclassJsxSelfClosingElementTreeImplclassJsxShortFragmentElementTreeImplclassJsxSpreadAttributeTreeImplclassJsxStandardAttributeTreeImplclassJsxStandardElementTreeImplclassJsxTextTreeImplMethods in org.sonar.javascript.tree.impl.expression.jsx that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>JsxClosingElementTreeImpl. childrenIterator()Iterator<Tree>JsxEmptyClosingElementTreeImpl. childrenIterator()Iterator<Tree>JsxEmptyOpeningElementTreeImpl. childrenIterator()Iterator<Tree>JsxIdentifierTreeImpl. childrenIterator()Iterator<Tree>JsxJavaScriptExpressionTreeImpl. childrenIterator()Iterator<Tree>JsxOpeningElementTreeImpl. childrenIterator()Iterator<Tree>JsxSelfClosingElementTreeImpl. childrenIterator()Iterator<Tree>JsxShortFragmentElementTreeImpl. childrenIterator()Iterator<Tree>JsxSpreadAttributeTreeImpl. childrenIterator()Iterator<Tree>JsxStandardAttributeTreeImpl. childrenIterator()Iterator<Tree>JsxStandardElementTreeImpl. childrenIterator()Iterator<Tree>JsxTextTreeImpl. childrenIterator() -
Uses of Tree in org.sonar.javascript.tree.impl.flow
Methods in org.sonar.javascript.tree.impl.flow that return Tree Modifier and Type Method Description TreeFlowDeclareTreeImpl. declaredObject()TreeFlowTypeofTypeTreeImpl. value()Methods in org.sonar.javascript.tree.impl.flow that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>FlowArrayTypeShorthandTreeImpl. childrenIterator()Iterator<Tree>FlowArrayTypeWithKeywordTreeImpl. childrenIterator()Iterator<Tree>FlowCastingExpressionTreeImpl. childrenIterator()Iterator<Tree>FlowDeclareTreeImpl. childrenIterator()Iterator<Tree>FlowFunctionSignatureTreeImpl. childrenIterator()Iterator<Tree>FlowFunctionTypeParameterClauseTreeImpl. childrenIterator()Iterator<Tree>FlowFunctionTypeParameterTreeImpl. childrenIterator()Iterator<Tree>FlowFunctionTypeTreeImpl. childrenIterator()Iterator<Tree>FlowGenericParameterClauseTreeImpl. childrenIterator()Iterator<Tree>FlowGenericParameterTreeImpl. childrenIterator()Iterator<Tree>FlowImplementsClauseTreeImpl. childrenIterator()Iterator<Tree>FlowIndexerPropertyDefinitionKeyTreeImpl. childrenIterator()Iterator<Tree>FlowInterfaceDeclarationTreeImpl. childrenIterator()Iterator<Tree>FlowIntersectionTypeTreeImpl. childrenIterator()Iterator<Tree>FlowLiteralTypeTreeImpl. childrenIterator()Iterator<Tree>FlowMethodPropertyDefinitionKeyTreeImpl. childrenIterator()Iterator<Tree>FlowModuleExportsTreeImpl. childrenIterator()Iterator<Tree>FlowModuleTreeImpl. childrenIterator()Iterator<Tree>FlowNamespacedTypeTreeImpl. childrenIterator()Iterator<Tree>FlowObjectTypeTreeImpl. childrenIterator()Iterator<Tree>FlowOpaqueTypeTreeImpl. childrenIterator()Iterator<Tree>FlowOptionalBindingElementTreeImpl. childrenIterator()Iterator<Tree>FlowOptionalTypeTreeImpl. childrenIterator()Iterator<Tree>FlowParameterizedGenericsTypeTreeImpl. childrenIterator()Iterator<Tree>FlowParenthesisedTypeTreeImpl. childrenIterator()Iterator<Tree>FlowPropertyDefinitionTreeImpl. childrenIterator()Iterator<Tree>FlowSimplePropertyDefinitionKeyTreeImpl. childrenIterator()Iterator<Tree>FlowSimpleTypeTreeImpl. childrenIterator()Iterator<Tree>FlowTupleTypeTreeImpl. childrenIterator()Iterator<Tree>FlowTypeAliasStatementTreeImpl. childrenIterator()Iterator<Tree>FlowTypeAnnotationTreeImpl. childrenIterator()Iterator<Tree>FlowTypedBindingElementTreeImpl. childrenIterator()Iterator<Tree>FlowTypeofTypeTreeImpl. childrenIterator()Iterator<Tree>FlowUnionTypeTreeImpl. childrenIterator()Constructors in org.sonar.javascript.tree.impl.flow with parameters of type Tree Constructor Description FlowDeclareTreeImpl(SyntaxToken declareToken, Tree declaredObject, SyntaxToken semicolonToken)FlowTypeofTypeTreeImpl(SyntaxToken typeofToken, Tree value) -
Uses of Tree in org.sonar.javascript.tree.impl.lexical
Classes in org.sonar.javascript.tree.impl.lexical that implement Tree Modifier and Type Class Description classInternalSyntaxTokenclassInternalSyntaxTriviaMethods in org.sonar.javascript.tree.impl.lexical that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>InternalSyntaxToken. childrenIterator()Iterator<Tree>InternalSyntaxTrivia. childrenIterator() -
Uses of Tree in org.sonar.javascript.tree.impl.statement
Classes in org.sonar.javascript.tree.impl.statement that implement Tree Modifier and Type Class Description classBlockTreeImplclassBreakStatementTreeImplclassCaseClauseTreeImplclassCatchBlockTreeImplclassContinueStatementTreeImplclassDebuggerStatementTreeImplclassDefaultClauseTreeImplclassDoWhileStatementTreeImplclassElseClauseTreeImplclassEmptyStatementTreeImplclassExpressionStatementTreeImplclassFinallyBlockTreeImplclassForObjectStatementTreeImplclassForStatementTreeImplclassIfStatementTreeImplclassLabelledStatementTreeImplclassReturnStatementTreeImplclassSwitchStatementTreeImplclassThrowStatementTreeImplclassTryStatementTreeImplclassVariableDeclarationTreeImplclassVariableStatementTreeImplclassWhileStatementTreeImplclassWithStatementTreeImplMethods in org.sonar.javascript.tree.impl.statement that return Tree Modifier and Type Method Description TreeWithStatementTreeImpl. expression()TreeForStatementTreeImpl. init()TreeCatchBlockTreeImpl. parameter()TreeForObjectStatementTreeImpl. variableOrExpression()Methods in org.sonar.javascript.tree.impl.statement that return types with arguments of type Tree Modifier and Type Method Description Iterator<Tree>BlockTreeImpl. childrenIterator()Iterator<Tree>BreakStatementTreeImpl. childrenIterator()Iterator<Tree>CaseClauseTreeImpl. childrenIterator()Iterator<Tree>CatchBlockTreeImpl. childrenIterator()Iterator<Tree>ContinueStatementTreeImpl. childrenIterator()Iterator<Tree>DebuggerStatementTreeImpl. childrenIterator()Iterator<Tree>DefaultClauseTreeImpl. childrenIterator()Iterator<Tree>DoWhileStatementTreeImpl. childrenIterator()Iterator<Tree>ElseClauseTreeImpl. childrenIterator()Iterator<Tree>EmptyStatementTreeImpl. childrenIterator()Iterator<Tree>ExpressionStatementTreeImpl. childrenIterator()Iterator<Tree>FinallyBlockTreeImpl. childrenIterator()Iterator<Tree>ForObjectStatementTreeImpl. childrenIterator()Iterator<Tree>ForStatementTreeImpl. childrenIterator()Iterator<Tree>IfStatementTreeImpl. childrenIterator()Iterator<Tree>LabelledStatementTreeImpl. childrenIterator()Iterator<Tree>ReturnStatementTreeImpl. childrenIterator()Iterator<Tree>SwitchStatementTreeImpl. childrenIterator()Iterator<Tree>ThrowStatementTreeImpl. childrenIterator()Iterator<Tree>TryStatementTreeImpl. childrenIterator()Iterator<Tree>VariableDeclarationTreeImpl. childrenIterator()Iterator<Tree>VariableStatementTreeImpl. childrenIterator()Iterator<Tree>WhileStatementTreeImpl. childrenIterator()Iterator<Tree>WithStatementTreeImpl. childrenIterator()Constructors in org.sonar.javascript.tree.impl.statement with parameters of type Tree Constructor Description ForObjectStatementTreeImpl(InternalSyntaxToken forKeyword, SyntaxToken awaitToken, InternalSyntaxToken openParenthesis, Tree variableOrExpression, InternalSyntaxToken ofOrInKeyword, ExpressionTree expression, InternalSyntaxToken closeParenthesis, StatementTree statement)ForStatementTreeImpl(InternalSyntaxToken forKeyword, InternalSyntaxToken openParenthesis, Tree init, InternalSyntaxToken firstSemicolon, ExpressionTree condition, InternalSyntaxToken secondSemicolon, ExpressionTree update, InternalSyntaxToken closeParenthesis, StatementTree statement) -
Uses of Tree in org.sonar.javascript.tree.symbols
Methods in org.sonar.javascript.tree.symbols that return Tree Modifier and Type Method Description TreeScope. tree()Methods in org.sonar.javascript.tree.symbols that return types with arguments of type Tree Modifier and Type Method Description Map<Tree,Scope>ScopeVisitor. getTreeScopeMap()Methods in org.sonar.javascript.tree.symbols with parameters of type Tree Modifier and Type Method Description ScopeSymbolModelImpl. getScope(Tree tree)Constructors in org.sonar.javascript.tree.symbols with parameters of type Tree Constructor Description Scope(Scope outer, Tree tree, boolean isBlock)Constructor parameters in org.sonar.javascript.tree.symbols with type arguments of type Tree Constructor Description HoistedSymbolVisitor(Map<Tree,Scope> treeScopeMap, org.sonar.api.config.Configuration configuration)SymbolVisitor(Map<Tree,Scope> treeScopeMap) -
Uses of Tree in org.sonar.javascript.visitors
Methods in org.sonar.javascript.visitors with parameters of type Tree Modifier and Type Method Description PreciseIssueIssues. addIssue(Tree tree, String message)LineIssueIssues. addLineIssue(Tree tree, String message) -
Uses of Tree in org.sonar.plugins.javascript.api
Methods in org.sonar.plugins.javascript.api with parameters of type Tree Modifier and Type Method Description PreciseIssueJavaScriptCheck. addIssue(Tree tree, String message)Returns new issue which is instance ofPreciseIssue.LineIssueJavaScriptCheck. addLineIssue(Tree tree, String message)Deprecated.since 2.14 useJavaScriptCheck.addIssue(Issue) -
Uses of Tree in org.sonar.plugins.javascript.api.symbols
Methods in org.sonar.plugins.javascript.api.symbols with parameters of type Tree Modifier and Type Method Description ScopeSymbolModel. getScope(Tree tree) -
Uses of Tree in org.sonar.plugins.javascript.api.tree
Subinterfaces of Tree in org.sonar.plugins.javascript.api.tree Modifier and Type Interface Description interfaceModuleTreeInterface for type Module.interfaceScriptTreeMethods in org.sonar.plugins.javascript.api.tree that return Tree Modifier and Type Method Description TreeTree. parent()Methods in org.sonar.plugins.javascript.api.tree that return types with arguments of type Tree Modifier and Type Method Description Stream<Tree>Tree. childrenStream()Iterator<Tree>SeparatedList. elementsAndSeparators(com.google.common.base.Function<T,? extends Tree> elementTransformer)Class<? extends Tree>Tree.Kind. getAssociatedInterface()List<Tree>ModuleTree. items()Methods in org.sonar.plugins.javascript.api.tree with parameters of type Tree Modifier and Type Method Description booleanTree. isAncestorOf(Tree tree)Method parameters in org.sonar.plugins.javascript.api.tree with type arguments of type Tree Modifier and Type Method Description Iterator<Tree>SeparatedList. elementsAndSeparators(com.google.common.base.Function<T,? extends Tree> elementTransformer) -
Uses of Tree in org.sonar.plugins.javascript.api.tree.declaration
Subinterfaces of Tree in org.sonar.plugins.javascript.api.tree.declaration Modifier and Type Interface Description interfaceAccessorMethodDeclarationTreeinterfaceArrayBindingPatternTreeCommon interface for all types of Array Binding Pattern (ES6)interfaceBindingElementTreeinterfaceBindingPropertyTreeinterfaceClassTreeinterfaceDeclarationTreeCommon interface for all types Declaration.interfaceDecoratorTreeClass and property decorator.interfaceDefaultExportDeclarationTreeinterfaceExportClauseTreeExport Clause (ES6).interfaceExportDeclarationTreeinterfaceExportDefaultBindingThis interface stands for the tail of export declaration (proposed for ES2017)interfaceExportDefaultBindingWithExportListThis interface stands for the tail of export declaration (proposed for ES2017)interfaceExportDefaultBindingWithNameSpaceExportThis interface stands for the tail of export declaration (proposed for ES2017)interfaceExtendsClauseTreeinterfaceFieldDeclarationTreeInterface for class fields and static properties.interfaceFromClauseTreeinterfaceFunctionDeclarationTreeinterfaceFunctionTreeinterfaceImportClauseTreeinterfaceImportDeclarationTreeinterfaceImportModuleDeclarationTreeinterfaceImportSubClauseTreeinterfaceInitializedBindingElementTreeinterfaceMethodDeclarationTreeCommon interface for all types Method Definitions (ES6).interfaceNamedExportDeclarationTreeinterfaceNamedImportExportClauseTreeinterfaceNameSpaceExportDeclarationTreeinterfaceNameSpaceImportTreeinterfaceObjectBindingPatternTreeinterfaceParameterListTreeinterfaceSpecifierTreeUsed both for import and exportMethods in org.sonar.plugins.javascript.api.tree.declaration that return Tree Modifier and Type Method Description TreeFunctionTree. body()TreeAccessorMethodDeclarationTree. name()TreeBindingPropertyTree. name()TreeFunctionTree. name()TreeMethodDeclarationTree. name()TreeDefaultExportDeclarationTree. object()TreeNamedExportDeclarationTree. object()TreeFunctionTree. parameterClause()TreeFieldDeclarationTree. propertyName()TreeExtendsClauseTree. superClass()Methods in org.sonar.plugins.javascript.api.tree.declaration that return types with arguments of type Tree Modifier and Type Method Description List<Tree>ClassTree. elements() -
Uses of Tree in org.sonar.plugins.javascript.api.tree.expression
Methods in org.sonar.plugins.javascript.api.tree.expression that return Tree Modifier and Type Method Description TreeArrowFunctionTree. body()EitherBlockTreeorExpressionTreeTreeObjectAssignmentPatternPairElementTree. element()TreeLexicalDeclarationTree. eos()TreePairPropertyTree. key()TreeArrowFunctionTree. parameterClause()Methods in org.sonar.plugins.javascript.api.tree.expression that return types with arguments of type Tree Modifier and Type Method Description SeparatedList<Optional<Tree>>ArrayAssignmentPatternTree. elements()SeparatedList<Tree>ObjectAssignmentPatternTree. elements()List<Tree>ArrayLiteralTree. elementsAndCommas()SeparatedList<Tree>ObjectLiteralTree. properties() -
Uses of Tree in org.sonar.plugins.javascript.api.tree.expression.jsx
Subinterfaces of Tree in org.sonar.plugins.javascript.api.tree.expression.jsx Modifier and Type Interface Description interfaceJsxAttributeTreeinterfaceJsxAttributeValueTreeinterfaceJsxChildTreeinterfaceJsxClosingElementTreeinterfaceJsxElementNameTreeinterfaceJsxElementTreeinterfaceJsxEmptyClosingElementTreeinterfaceJsxEmptyOpeningElementTreeinterfaceJsxIdentifierTreeinterfaceJsxJavaScriptExpressionTreeinterfaceJsxOpeningElementTreeinterfaceJsxSelfClosingElementTreeinterfaceJsxShortFragmentElementTreeinterfaceJsxSpreadAttributeTreeinterfaceJsxStandardAttributeTreeinterfaceJsxStandardElementTreeinterfaceJsxTextTree -
Uses of Tree in org.sonar.plugins.javascript.api.tree.flow
Methods in org.sonar.plugins.javascript.api.tree.flow that return Tree Modifier and Type Method Description TreeFlowDeclareTree. declaredObject()TreeFlowTypeofTypeTree. value()value could be expression orFlowParameterizedGenericsTypeTree -
Uses of Tree in org.sonar.plugins.javascript.api.tree.lexical
Subinterfaces of Tree in org.sonar.plugins.javascript.api.tree.lexical Modifier and Type Interface Description interfaceSyntaxTokenRepresents a token in the syntax tree.interfaceSyntaxTriviaRepresents a Trivia in the SyntaxTree. -
Uses of Tree in org.sonar.plugins.javascript.api.tree.statement
Methods in org.sonar.plugins.javascript.api.tree.statement that return Tree Modifier and Type Method Description TreeWithStatementTree. expression()TreeForStatementTree. init()TreeCatchBlockTree. parameter()TreeForObjectStatementTree. variableOrExpression() -
Uses of Tree in org.sonar.plugins.javascript.api.visitors
Methods in org.sonar.plugins.javascript.api.visitors with type parameters of type Tree Modifier and Type Method Description protected <T extends Tree>
voidDoubleDispatchVisitor. scan(List<T> trees)Methods in org.sonar.plugins.javascript.api.visitors with parameters of type Tree Modifier and Type Method Description PreciseIssueDoubleDispatchVisitorCheck. addIssue(Tree tree, String message)PreciseIssueSubscriptionVisitorCheck. addIssue(Tree tree, String message)LineIssueDoubleDispatchVisitorCheck. addLineIssue(Tree tree, String message)Deprecated.LineIssueSubscriptionVisitorCheck. addLineIssue(Tree tree, String message)Deprecated.protected booleanSubscriptionVisitor. isSubscribed(Tree tree)voidSubscriptionVisitor. leaveFile(Tree scriptTree)voidSubscriptionVisitor. leaveNode(Tree tree)protected voidDoubleDispatchVisitor. scan(Tree tree)protected voidDoubleDispatchVisitor. scanChildren(Tree tree)voidSubscriptionVisitor. scanTree(Tree tree)PreciseIssuePreciseIssue. secondary(Tree tree)PreciseIssuePreciseIssue. secondary(Tree tree, String message)voidSubscriptionVisitor. visitFile(Tree scriptTree)voidSubscriptionVisitor. visitNode(Tree tree)Constructors in org.sonar.plugins.javascript.api.visitors with parameters of type Tree Constructor Description IssueLocation(Tree tree)IssueLocation(Tree tree, String message)IssueLocation(Tree firstTree, Tree lastTree, String message)LineIssue(JavaScriptCheck check, Tree tree, String message)
-