Skip to content

Commit cce3c02

Browse files
committed
JS: Update some comments in Vue
1 parent 27f1012 commit cce3c02

File tree

1 file changed

+7
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+7
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Vue.qll

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ module Vue {
1414
override DataFlow::Node getARhs() { none() }
1515
}
1616

17-
/** A value exported from a `.vue` file. */
17+
/**
18+
* A value exported from a `.vue` file.
19+
*
20+
* This `EntryPoint` is used by `SingleFileComponent::getOwnOptions()`.
21+
*/
1822
private class VueExportEntryPoint extends API::EntryPoint {
1923
VueExportEntryPoint() { this = "VueExportEntryPoint" }
2024

@@ -474,6 +478,8 @@ module Vue {
474478
*
475479
* Concretely, such an import receives the Vue component generated from the .vue file,
476480
* not the actual exports of the script tag in the file.
481+
*
482+
* This entry point is used in `SingleFileComponent::getComponentRef()`.
477483
*/
478484
private class VueFileImportEntryPoint extends API::EntryPoint {
479485
VueFileImportEntryPoint() { this = "VueFileImportEntryPoint" }

0 commit comments

Comments
 (0)