Skip to content

Commit 7530923

Browse files
committed
add missing qldoc
1 parent d8cc82b commit 7530923

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

javascript/ql/lib/semmle/javascript/Actions.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ module Actions {
2121
}
2222

2323
/**
24+
* A YAML node that may contain sub-nodes.
25+
*
2426
* Actions are quite flexible in parsing YAML.
2527
*
2628
* For example:
@@ -48,6 +50,7 @@ module Actions {
4850
this instanceof YAMLScalar
4951
}
5052

53+
/** Gets sub-name identified by `name`. */
5154
YAMLNode getNode(string name) {
5255
exists(YAMLMapping mapping |
5356
mapping = this and
@@ -68,6 +71,7 @@ module Actions {
6871
)
6972
}
7073

74+
/** Gets the number of elements in this mapping or sequence. */
7175
int getElementCount() {
7276
exists(YAMLMapping mapping |
7377
mapping = this and
@@ -113,6 +117,7 @@ module Actions {
113117

114118
On() { workflow.lookup("on") = this }
115119

120+
/** Gets the workflow that this trigger is in. */
116121
Workflow getWorkflow() { result = workflow }
117122
}
118123

@@ -283,6 +288,7 @@ module Actions {
283288

284289
Ref() { with.lookup("ref") = this }
285290

291+
/** Gets the `with` field this field belongs to. */
286292
With getWith() { result = with }
287293
}
288294

0 commit comments

Comments
 (0)