CodeQL library for JavaScript
codeql/javascript-all 0.7.4 ( changelog , source )
Search

Member predicate API :: Node :: getADecoratedClass

Gets any class that has this value as a decorator.

For example:

import { D } from "foo";

// moduleImport("foo").getMember("D").getADecoratedClass()
@D
class C1 {}

// moduleImport("foo").getMember("D").getReturn().getADecoratedClass()
@D()
class C2 {}
Node getADecoratedClass ( )