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

Member predicate MemberDeclaration::getDecorator

Gets the ith decorator applied to this member.

For example, a method of the form @A @B m() { ... } has @A as its 0th decorator and @B as its first decorator.

Decorator getDecorator(int i)