@eslint-react/core / ClientFunctionSemanticNode
Represents a React Client Function
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
body |
BlockStatement | Expression |
- | - | SemanticFunc.body |
directives |
StringLiteral[] |
- | - | SemanticFunc.directives |
flag |
bigint |
- | - | SemanticFunc.flag |
hint |
bigint |
- | - | SemanticFunc.hint |
id |
| ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | PrivateInExpression | SymmetricBinaryExpression | CallExpression | ChainExpression | ClassExpression | ConditionalExpression | FunctionExpression | Identifier | ImportExpression | JSXElement | JSXFragment | BigIntLiteral | BooleanLiteral | NullLiteral | NumberLiteral | RegExpLiteral | StringLiteral | LogicalExpression | MemberExpressionComputedName | MemberExpressionNonComputedName | MetaProperty | NewExpression | ObjectExpression | ObjectPattern | PrivateIdentifier | SequenceExpression | Super | TaggedTemplateExpression | TemplateLiteral | ThisExpression | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | UnaryExpressionBitwiseNot | UnaryExpressionDelete | UnaryExpressionMinus | UnaryExpressionNot | UnaryExpressionPlus | UnaryExpressionTypeof | UnaryExpressionVoid | UpdateExpression | YieldExpression | undefined |
- | - | SemanticFunc.id |
key |
string |
- | - | SemanticFunc.key |
kind |
"client-function" |
The kind of function | SemanticFunc.kind |
- |
name |
string | undefined |
- | - | SemanticFunc.name |
node |
TSESTreeFunction |
- | - | SemanticFunc.node |
parameters |
Parameter[] |
- | - | SemanticFunc.parameters |
type |
TSTypeAnnotation | undefined |
- | - | SemanticFunc.type |
typeParameters |
TSTypeParameterDeclaration | undefined |
- | - | SemanticFunc.typeParameters |