소스 검색

add comments

d98762625 7 년 전
부모
커밋
ec0ecf5151
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      src/core/lib/FlowControl.mjs

+ 10 - 1
src/core/lib/FlowControl.mjs

@@ -1,9 +1,18 @@
+/**
+ * Flow control functions
+ *
+ * @author d98762625 [d98762625@gmail.com]
+ * @copyright Crown Copyright 2018
+ * @license Apache-2.0
+ *
+ */
+
 /**
  * Returns the index of a label.
  *
  * @private
  * @param {Object} state
- * @param {string} name
+ * @param {string} name - The label name to look for.
  * @returns {number}
  */
 export function getLabelIndex(name, state) {