Skip to content

Commit 8e50047

Browse files
committed
change comment style
Signed-off-by: flakey5 <[email protected]>
1 parent 5418f01 commit 8e50047

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed
Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,18 @@
1-
/**
2-
* Denotes a method's return value
3-
*/
1+
// Grabs a method's return value
42
export const RETURN_EXPRESSION = /^returns?\s*:?\s*/i;
53

6-
/**
7-
* Denotes a method's name
8-
*/
4+
// Grabs a method's name
95
export const NAME_EXPRESSION = /^['`"]?([^'`": {]+)['`"]?\s*:?\s*/;
106

11-
/**
12-
* Denotes a method's type
13-
*/
7+
// Denotes a method's type
148
export const TYPE_EXPRESSION = /^\{([^}]+)\}\s*/;
159

16-
/**
17-
* Is there a leading hyphen
18-
*/
10+
// Checks if there's a leading hyphen
1911
export const LEADING_HYPHEN = /^-\s*/;
2012

21-
/**
22-
* Denotes a default value
23-
*/
13+
// Grabs the default value if present
2414
export const DEFAULT_EXPRESSION = /\s*\*\*Default:\*\*\s*([^]+)$/i;
2515

26-
/**
27-
* Grabs the parameters from a method's signature
28-
* @example 'new buffer.Blob([sources[, options]])'.match(PARAM_EXPRESSION) = ['([sources[, options]])', '[sources[, options]]']
29-
*/
16+
// Grabs the parameters from a method's signature
17+
// ex/ 'new buffer.Blob([sources[, options]])'.match(PARAM_EXPRESSION) === ['([sources[, options]])', '[sources[, options]]']
3018
export const PARAM_EXPRESSION = /\((.+)\);?$/;

0 commit comments

Comments
 (0)