File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -343,13 +343,13 @@ module Angular2 {
343343 /** Gets an HTML element that instantiates this component. */
344344 HTML:: Element getATemplateInstantiation ( ) { result .getName ( ) = getSelector ( ) }
345345
346- /**
347- * Gets an argument that flows into the `name` field of this component.
348- *
349- * For example, if the selector for this component is `"my-class"`, then this
350- * predicate can match an attribute like: `<my-class [foo]="1+2"/>`.
351- * The result of this predicate would be the `1+2` expression, and `name` would be `"foo"`.
352- */
346+ /**
347+ * Gets an argument that flows into the `name` field of this component.
348+ *
349+ * For example, if the selector for this component is `"my-class"`, then this
350+ * predicate can match an attribute like: `<my-class [foo]="1+2"/>`.
351+ * The result of this predicate would be the `1+2` expression, and `name` would be `"foo"`.
352+ */
353353 DataFlow:: Node getATemplateArgument ( string name ) {
354354 result =
355355 getAttributeValueAsNode ( getATemplateInstantiation ( ) .getAttributeByName ( "[" + name + "]" ) )
You can’t perform that action at this time.
0 commit comments