File tree Expand file tree Collapse file tree 4 files changed +122
-0
lines changed Expand file tree Collapse file tree 4 files changed +122
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * This function returns the number plus two.
3+ *
4+ * @example
5+ */
6+ function returnTwo ( ) {
7+ return a + 2 ;
8+ }
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "description" : " This function returns the number plus two." ,
4+ "tags" : [
5+ {
6+ "title" : " example" ,
7+ "description" : null ,
8+ "lineNumber" : 3
9+ }
10+ ],
11+ "loc" : {
12+ "start" : {
13+ "line" : 1 ,
14+ "column" : 0
15+ },
16+ "end" : {
17+ "line" : 5 ,
18+ "column" : 3
19+ }
20+ },
21+ "context" : {
22+ "loc" : {
23+ "start" : {
24+ "line" : 6 ,
25+ "column" : 0
26+ },
27+ "end" : {
28+ "line" : 8 ,
29+ "column" : 1
30+ }
31+ },
32+ "code" : " /**\n * This function returns the number plus two.\n *\n * @example\n */\n function returnTwo() {\n return a + 2;\n }\n "
33+ },
34+ "errors" : [],
35+ "examples" : [null ],
36+ "name" : " returnTwo" ,
37+ "kind" : " function" ,
38+ "members" : {
39+ "instance" : [],
40+ "static" : []
41+ },
42+ "path" : [
43+ " returnTwo"
44+ ]
45+ }
46+ ]
Original file line number Diff line number Diff line change 1+ # returnTwo
2+
3+ This function returns the number plus two.
4+
5+ ** Examples**
6+
7+ ``` javascript
8+ undefined
9+ ```
Original file line number Diff line number Diff line change 1+ {
2+ "type" : " root" ,
3+ "children" : [
4+ {
5+ "depth" : 1 ,
6+ "type" : " heading" ,
7+ "children" : [
8+ {
9+ "type" : " text" ,
10+ "value" : " returnTwo"
11+ }
12+ ]
13+ },
14+ {
15+ "type" : " paragraph" ,
16+ "children" : [
17+ {
18+ "type" : " text" ,
19+ "value" : " This function returns the number plus two." ,
20+ "position" : {
21+ "start" : {
22+ "line" : 1 ,
23+ "column" : 1
24+ },
25+ "end" : {
26+ "line" : 1 ,
27+ "column" : 43
28+ },
29+ "indent" : []
30+ }
31+ }
32+ ],
33+ "position" : {
34+ "start" : {
35+ "line" : 1 ,
36+ "column" : 1
37+ },
38+ "end" : {
39+ "line" : 1 ,
40+ "column" : 43
41+ },
42+ "indent" : []
43+ }
44+ },
45+ {
46+ "type" : " strong" ,
47+ "children" : [
48+ {
49+ "type" : " text" ,
50+ "value" : " Examples"
51+ }
52+ ]
53+ },
54+ {
55+ "lang" : " javascript" ,
56+ "type" : " code"
57+ }
58+ ]
59+ }
You can’t perform that action at this time.
0 commit comments