8000 Add type application test case. Refs #102 · developit/documentation@2389df3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2389df3

Browse files
committed
Add type application test case. Refs documentationjs#102
1 parent 0bada97 commit 2389df3

File tree

4 files changed

+111
-0
lines changed

4 files changed

+111
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Represents an IPv6 address
3+
* @class Address6
4+
* @param {Array<string>} address - An IPv6 address string
5+
*/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## `Address6`
2+
3+
Represents an IPv6 address
4+
5+
* `address`: An IPv6 address string
6+
7+
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
[
2+
{
3+
"description": "Represents an IPv6 address",
4+
"tags": [
5+
{
6+
"title": "class",
7+
"description": null,
8+
"lineNumber": 2,
9+
"type": null,
10+
"name": "Address6"
11+
},
12+
{
13+
"title": "param",
14+
"description": "An IPv6 address string",
15+
"lineNumber": 3,
16+
"type": {
17+
"type": "TypeApplication",
18+
"expression": {
19+
"type": "NameExpression",
20+
"name": "Array"
21+
},
22+
"applications": [
23+
{
24+
"type": "NameExpression",
25+
"name": "string"
26+
}
27+
]
28+
},
29+
"name": "address"
30+
},
31+
{
32+
"title": "name",
33+
"name": "Address6"
34+
},
35+
{
36+
"title": "kind",
37+
"kind": "class"
38+
}
39+
],
40+
"loc": {
41+
"start": {
42+
"line": 1,
43+
"column": 0
44+
},
45+
"end": {
46+
"line": 5,
47+
"column": 3
48+
}
49+
},
50+
"context": {
51+
"loc": {
52+
"start": {
53+
"line": 6,
54+
"column": 0
55+
},
56+
"end": {
57+
"line": 6,
58+
"column": 0
59+
}
60+
},
61+
"file": "fixture/type_application.input.js"
62+
},
63+
"params": [
64+
{
65+
"title": "param",
66+
"description": "An IPv6 address string",
67+
"lineNumber": 3,
68+
"type": {
69+
"type": "TypeApplication",
70+
"expression": {
71+
"type": "NameExpression",
72+
"name": "Array"
73+
},
74+
"applications": [
75+
{
76+
"type": "NameExpression",
77+
"name": "string"
78+
}
79+
]
80+
},
81+
"name": "address"
82+
}
83+
],
84+
"name": "Address6",
85+
"kind": "class"
86+
}
87+
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## `Address6`
2+
3+
Represents an IPv6 address
4+
5+
### Parameters
6+
7+
* `address` **`Array<string>`** An IPv6 address string
8+
9+
10+
11+
12+

0 commit comments

Comments
 (0)
0