@eslint-react/core / ClassComponentSemanticNode
Represents a React Class Component
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
displayName |
Expression | undefined |
The display name of the component | - | - |
flag |
bigint |
Flags describing the component's characteristics | SemanticNode.flag |
- |
hint |
bigint |
Hint for how the component was detected | SemanticNode.hint |
- |
id |
BindingName | undefined |
The identifier of the component | SemanticNode.id |
- |
key |
string |
The unique key of the node | - | SemanticNode.key |
kind |
"class-component" |
The kind of component | SemanticNode.kind |
- |
methods |
TSESTreeMethodOrProperty[] |
List of methods and properties in the class | - | - |
name |
string | undefined |
The name of the node | - | SemanticNode.name |
node |
TSESTreeClass |
The AST node of the class | SemanticNode.node |
- |