CodeQL library for JavaScript
Search

Predicate DataFlow::fieldDeclarationNode

INTERNAL: Do not use outside standard library.

Gets a data flow node unique to the given field declaration.

Note that this node defaults to being disconnected from the data flow graph, as the individual property reads and writes affecting the field are analyzed independently of the field declaration.

Certain framework models may need this node to model the behavior of class and field decorators.

Import path

import javascript
Node fieldDeclarationNode(FieldDeclaration field)