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

Member predicate Angular2::ComponentClass::getATemplateArgument

Gets an argument that flows into the name field of this component.

For example, if the selector for this component is "my-class", then this predicate can match an attribute like: <my-class [foo]="1+2"/>. The result of this predicate would be the 1+2 expression, and name would be "foo".

Node getATemplateArgument(string name)