SonarJS linter helper functions
Preparing search index...
getParent
Function getParent
getParent
(
context
:
RuleContext
,
node
:
Node
,
)
:
|
undefined
|
MethodDefinition
|
Property
|
CatchClause
|
ClassDeclaration
|
ClassExpression
|
ClassBody
|
FunctionExpression
|
ArrowFunctionExpression
|
Identifier
|
SimpleLiteral
|
RegExpLiteral
|
BigIntLiteral
|
ArrayExpression
|
AssignmentExpression
|
AwaitExpression
|
BinaryExpression
|
SimpleCallExpression
|
NewExpression
|
ChainExpression
|
ConditionalExpression
|
ImportExpression
|
LogicalExpression
|
MemberExpression
|
MetaProperty
|
ObjectExpression
|
SequenceExpression
|
TaggedTemplateExpression
|
TemplateLiteral
|
ThisExpression
|
UnaryExpression
|
UpdateExpression
|
YieldExpression
|
FunctionDeclaration
|
ImportDeclaration
|
ExportNamedDeclaration
|
ExportDefaultDeclaration
|
ExportAllDeclaration
|
ImportSpecifier
|
ImportDefaultSpecifier
|
ImportNamespaceSpecifier
|
ExportSpecifier
|
ObjectPattern
|
ArrayPattern
|
RestElement
|
AssignmentPattern
|
PrivateIdentifier
|
Program
|
PropertyDefinition
|
SpreadElement
|
ExpressionStatement
|
BlockStatement
|
StaticBlock
|
EmptyStatement
|
DebuggerStatement
|
WithStatement
|
ReturnStatement
|
LabeledStatement
|
BreakStatement
|
ContinueStatement
|
IfStatement
|
SwitchStatement
|
ThrowStatement
|
TryStatement
|
WhileStatement
|
DoWhileStatement
|
ForStatement
|
ForInStatement
|
ForOfStatement
|
VariableDeclaration
|
Super
|
SwitchCase
|
TemplateElement
|
VariableDeclarator
Parameters
context
:
RuleContext
node
:
Node
Returns
|
undefined
|
MethodDefinition
|
Property
|
CatchClause
|
ClassDeclaration
|
ClassExpression
|
ClassBody
|
FunctionExpression
|
ArrowFunctionExpression
|
Identifier
|
SimpleLiteral
|
RegExpLiteral
|
BigIntLiteral
|
ArrayExpression
|
AssignmentExpression
|
AwaitExpression
|
BinaryExpression
|
SimpleCallExpression
|
NewExpression
|
ChainExpression
|
ConditionalExpression
|
ImportExpression
|
LogicalExpression
|
MemberExpression
|
MetaProperty
|
ObjectExpression
|
SequenceExpression
|
TaggedTemplateExpression
|
TemplateLiteral
|
ThisExpression
|
UnaryExpression
|
UpdateExpression
|
YieldExpression
|
FunctionDeclaration
|
ImportDeclaration
|
ExportNamedDeclaration
|
ExportDefaultDeclaration
|
ExportAllDeclaration
|
ImportSpecifier
|
ImportDefaultSpecifier
|
ImportNamespaceSpecifier
|
ExportSpecifier
|
ObjectPattern
|
ArrayPattern
|
RestElement
|
AssignmentPattern
|
PrivateIdentifier
|
Program
|
PropertyDefinition
|
SpreadElement
|
ExpressionStatement
|
BlockStatement
|
StaticBlock
|
EmptyStatement
|
DebuggerStatement
|
WithStatement
|
ReturnStatement
|
LabeledStatement
|
BreakStatement
|
ContinueStatement
|
IfStatement
|
SwitchStatement
|
ThrowStatement
|
TryStatement
|
WhileStatement
|
DoWhileStatement
|
ForStatement
|
ForInStatement
|
ForOfStatement
|
VariableDeclaration
|
Super
|
SwitchCase
|
TemplateElement
|
VariableDeclarator
Settings
Theme
OS
Light
Dark
ESlint dev guide
SonarJS linter helper functions
Loading...