@alloy-js/go 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/LICENSE +7 -0
- package/api-extractor.json +4 -0
- package/dist/src/builtins/fmt/fmt.d.ts +147 -0
- package/dist/src/builtins/fmt/fmt.d.ts.map +1 -0
- package/dist/src/builtins/fmt/fmt.js +148 -0
- package/dist/src/builtins/fmt/fmt.js.map +1 -0
- package/dist/src/builtins/index.d.ts +2004 -0
- package/dist/src/builtins/index.d.ts.map +1 -0
- package/dist/src/builtins/index.js +9 -0
- package/dist/src/builtins/index.js.map +1 -0
- package/dist/src/builtins/io/io.d.ts +648 -0
- package/dist/src/builtins/io/io.d.ts.map +1 -0
- package/dist/src/builtins/io/io.js +650 -0
- package/dist/src/builtins/io/io.js.map +1 -0
- package/dist/src/builtins/net/net.d.ts +1210 -0
- package/dist/src/builtins/net/net.d.ts.map +1 -0
- package/dist/src/builtins/net/net.js +1212 -0
- package/dist/src/builtins/net/net.js.map +1 -0
- package/dist/src/components/ImportStatement.d.ts +15 -0
- package/dist/src/components/ImportStatement.d.ts.map +1 -0
- package/dist/src/components/ImportStatement.js +90 -0
- package/dist/src/components/ImportStatement.js.map +1 -0
- package/dist/src/components/ModuleDirectory.d.ts +8 -0
- package/dist/src/components/ModuleDirectory.d.ts.map +1 -0
- package/dist/src/components/ModuleDirectory.js +20 -0
- package/dist/src/components/ModuleDirectory.js.map +1 -0
- package/dist/src/components/Name.d.ts +2 -0
- package/dist/src/components/Name.d.ts.map +1 -0
- package/dist/src/components/Name.js +12 -0
- package/dist/src/components/Name.js.map +1 -0
- package/dist/src/components/Reference.d.ts +6 -0
- package/dist/src/components/Reference.d.ts.map +1 -0
- package/dist/src/components/Reference.js +15 -0
- package/dist/src/components/Reference.js.map +1 -0
- package/dist/src/components/SourceDirectory.d.ts +6 -0
- package/dist/src/components/SourceDirectory.d.ts.map +1 -0
- package/dist/src/components/SourceDirectory.js +30 -0
- package/dist/src/components/SourceDirectory.js.map +1 -0
- package/dist/src/components/SourceFile.d.ts +16 -0
- package/dist/src/components/SourceFile.d.ts.map +1 -0
- package/dist/src/components/SourceFile.js +75 -0
- package/dist/src/components/SourceFile.js.map +1 -0
- package/dist/src/components/doc/comment.d.ts +21 -0
- package/dist/src/components/doc/comment.d.ts.map +1 -0
- package/dist/src/components/doc/comment.js +30 -0
- package/dist/src/components/doc/comment.js.map +1 -0
- package/dist/src/components/doc/comment.test.d.ts +2 -0
- package/dist/src/components/doc/comment.test.d.ts.map +1 -0
- package/dist/src/components/doc/comment.test.js +215 -0
- package/dist/src/components/doc/comment.test.js.map +1 -0
- package/dist/src/components/function/function.d.ts +31 -0
- package/dist/src/components/function/function.d.ts.map +1 -0
- package/dist/src/components/function/function.js +134 -0
- package/dist/src/components/function/function.js.map +1 -0
- package/dist/src/components/function/function.test.d.ts +2 -0
- package/dist/src/components/function/function.test.d.ts.map +1 -0
- package/dist/src/components/function/function.test.js +410 -0
- package/dist/src/components/function/function.test.js.map +1 -0
- package/dist/src/components/index.d.ts +16 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/index.js +16 -0
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/components/interface/declaration.d.ts +68 -0
- package/dist/src/components/interface/declaration.d.ts.map +1 -0
- package/dist/src/components/interface/declaration.js +181 -0
- package/dist/src/components/interface/declaration.js.map +1 -0
- package/dist/src/components/interface/interface.test.d.ts +2 -0
- package/dist/src/components/interface/interface.test.d.ts.map +1 -0
- package/dist/src/components/interface/interface.test.js +517 -0
- package/dist/src/components/interface/interface.test.js.map +1 -0
- package/dist/src/components/package.test.d.ts +2 -0
- package/dist/src/components/package.test.d.ts.map +1 -0
- package/dist/src/components/package.test.js +89 -0
- package/dist/src/components/package.test.js.map +1 -0
- package/dist/src/components/parameters/parameters.d.ts +15 -0
- package/dist/src/components/parameters/parameters.d.ts.map +1 -0
- package/dist/src/components/parameters/parameters.js +58 -0
- package/dist/src/components/parameters/parameters.js.map +1 -0
- package/dist/src/components/parameters/typeparameters.d.ts +25 -0
- package/dist/src/components/parameters/typeparameters.d.ts.map +1 -0
- package/dist/src/components/parameters/typeparameters.js +53 -0
- package/dist/src/components/parameters/typeparameters.js.map +1 -0
- package/dist/src/components/pointer/pointer.d.ts +9 -0
- package/dist/src/components/pointer/pointer.d.ts.map +1 -0
- package/dist/src/components/pointer/pointer.js +8 -0
- package/dist/src/components/pointer/pointer.js.map +1 -0
- package/dist/src/components/stc/index.d.ts +27 -0
- package/dist/src/components/stc/index.d.ts.map +1 -0
- package/dist/src/components/stc/index.js +27 -0
- package/dist/src/components/stc/index.js.map +1 -0
- package/dist/src/components/struct/declaration.d.ts +62 -0
- package/dist/src/components/struct/declaration.d.ts.map +1 -0
- package/dist/src/components/struct/declaration.js +161 -0
- package/dist/src/components/struct/declaration.js.map +1 -0
- package/dist/src/components/struct/struct.test.d.ts +2 -0
- package/dist/src/components/struct/struct.test.d.ts.map +1 -0
- package/dist/src/components/struct/struct.test.js +741 -0
- package/dist/src/components/struct/struct.test.js.map +1 -0
- package/dist/src/components/type/declaration.d.ts +29 -0
- package/dist/src/components/type/declaration.d.ts.map +1 -0
- package/dist/src/components/type/declaration.js +63 -0
- package/dist/src/components/type/declaration.js.map +1 -0
- package/dist/src/components/var/declaration.d.ts +27 -0
- package/dist/src/components/var/declaration.d.ts.map +1 -0
- package/dist/src/components/var/declaration.js +84 -0
- package/dist/src/components/var/declaration.js.map +1 -0
- package/dist/src/components/var/var-declaration.test.d.ts +2 -0
- package/dist/src/components/var/var-declaration.test.d.ts.map +1 -0
- package/dist/src/components/var/var-declaration.test.js +340 -0
- package/dist/src/components/var/var-declaration.test.js.map +1 -0
- package/dist/src/context/package.d.ts +9 -0
- package/dist/src/context/package.d.ts.map +1 -0
- package/dist/src/context/package.js +6 -0
- package/dist/src/context/package.js.map +1 -0
- package/dist/src/create-module.d.ts +47 -0
- package/dist/src/create-module.d.ts.map +1 -0
- package/dist/src/create-module.js +158 -0
- package/dist/src/create-module.js.map +1 -0
- package/dist/src/create-module.test.d.ts +2 -0
- package/dist/src/create-module.test.d.ts.map +1 -0
- package/dist/src/create-module.test.js +147 -0
- package/dist/src/create-module.test.js.map +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/name-policy.d.ts +5 -0
- package/dist/src/name-policy.d.ts.map +1 -0
- package/dist/src/name-policy.js +27 -0
- package/dist/src/name-policy.js.map +1 -0
- package/dist/src/scopes/contexts.d.ts +9 -0
- package/dist/src/scopes/contexts.d.ts.map +1 -0
- package/dist/src/scopes/contexts.js +34 -0
- package/dist/src/scopes/contexts.js.map +1 -0
- package/dist/src/scopes/factories.d.ts +7 -0
- package/dist/src/scopes/factories.d.ts.map +1 -0
- package/dist/src/scopes/factories.js +16 -0
- package/dist/src/scopes/factories.js.map +1 -0
- package/dist/src/scopes/function.d.ts +9 -0
- package/dist/src/scopes/function.d.ts.map +1 -0
- package/dist/src/scopes/function.js +14 -0
- package/dist/src/scopes/function.js.map +1 -0
- package/dist/src/scopes/go.d.ts +8 -0
- package/dist/src/scopes/go.d.ts.map +1 -0
- package/dist/src/scopes/go.js +12 -0
- package/dist/src/scopes/go.js.map +1 -0
- package/dist/src/scopes/index.d.ts +10 -0
- package/dist/src/scopes/index.d.ts.map +1 -0
- package/dist/src/scopes/index.js +10 -0
- package/dist/src/scopes/index.js.map +1 -0
- package/dist/src/scopes/lexical.d.ts +8 -0
- package/dist/src/scopes/lexical.d.ts.map +1 -0
- package/dist/src/scopes/lexical.js +11 -0
- package/dist/src/scopes/lexical.js.map +1 -0
- package/dist/src/scopes/module.d.ts +9 -0
- package/dist/src/scopes/module.d.ts.map +1 -0
- package/dist/src/scopes/module.js +31 -0
- package/dist/src/scopes/module.js.map +1 -0
- package/dist/src/scopes/named-type.d.ts +23 -0
- package/dist/src/scopes/named-type.d.ts.map +1 -0
- package/dist/src/scopes/named-type.js +33 -0
- package/dist/src/scopes/named-type.js.map +1 -0
- package/dist/src/scopes/package.d.ts +11 -0
- package/dist/src/scopes/package.d.ts.map +1 -0
- package/dist/src/scopes/package.js +39 -0
- package/dist/src/scopes/package.js.map +1 -0
- package/dist/src/scopes/source-file.d.ts +17 -0
- package/dist/src/scopes/source-file.d.ts.map +1 -0
- package/dist/src/scopes/source-file.js +42 -0
- package/dist/src/scopes/source-file.js.map +1 -0
- package/dist/src/symbols/factories.d.ts +25 -0
- package/dist/src/symbols/factories.d.ts.map +1 -0
- package/dist/src/symbols/factories.js +114 -0
- package/dist/src/symbols/factories.js.map +1 -0
- package/dist/src/symbols/function.d.ts +10 -0
- package/dist/src/symbols/function.d.ts.map +1 -0
- package/dist/src/symbols/function.js +12 -0
- package/dist/src/symbols/function.js.map +1 -0
- package/dist/src/symbols/go.d.ts +22 -0
- package/dist/src/symbols/go.d.ts.map +1 -0
- package/dist/src/symbols/go.js +56 -0
- package/dist/src/symbols/go.js.map +1 -0
- package/dist/src/symbols/index.d.ts +7 -0
- package/dist/src/symbols/index.d.ts.map +1 -0
- package/dist/src/symbols/index.js +7 -0
- package/dist/src/symbols/index.js.map +1 -0
- package/dist/src/symbols/named-type.d.ts +24 -0
- package/dist/src/symbols/named-type.d.ts.map +1 -0
- package/dist/src/symbols/named-type.js +53 -0
- package/dist/src/symbols/named-type.js.map +1 -0
- package/dist/src/symbols/package.d.ts +18 -0
- package/dist/src/symbols/package.d.ts.map +1 -0
- package/dist/src/symbols/package.js +38 -0
- package/dist/src/symbols/package.js.map +1 -0
- package/dist/src/symbols/reference.d.ts +3 -0
- package/dist/src/symbols/reference.d.ts.map +1 -0
- package/dist/src/symbols/reference.js +76 -0
- package/dist/src/symbols/reference.js.map +1 -0
- package/dist/test/utils.d.ts +8 -0
- package/dist/test/utils.d.ts.map +1 -0
- package/dist/test/utils.js +68 -0
- package/dist/test/utils.js.map +1 -0
- package/dist/test/vitest.setup.d.ts +2 -0
- package/dist/test/vitest.setup.d.ts.map +1 -0
- package/dist/test/vitest.setup.js +2 -0
- package/dist/test/vitest.setup.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +45 -0
- package/src/builtins/fmt/fmt.ts +78 -0
- package/src/builtins/index.ts +9 -0
- package/src/builtins/io/io.ts +355 -0
- package/src/builtins/net/net.ts +502 -0
- package/src/components/ImportStatement.tsx +115 -0
- package/src/components/ModuleDirectory.tsx +18 -0
- package/src/components/Name.tsx +11 -0
- package/src/components/Reference.tsx +18 -0
- package/src/components/SourceDirectory.tsx +32 -0
- package/src/components/SourceFile.tsx +74 -0
- package/src/components/doc/comment.test.tsx +278 -0
- package/src/components/doc/comment.tsx +40 -0
- package/src/components/function/function.test.tsx +387 -0
- package/src/components/function/function.tsx +194 -0
- package/src/components/index.ts +15 -0
- package/src/components/interface/declaration.tsx +250 -0
- package/src/components/interface/interface.test.tsx +390 -0
- package/src/components/package.test.tsx +63 -0
- package/src/components/parameters/parameters.tsx +74 -0
- package/src/components/parameters/typeparameters.tsx +78 -0
- package/src/components/pointer/pointer.tsx +12 -0
- package/src/components/stc/index.ts +27 -0
- package/src/components/struct/declaration.tsx +228 -0
- package/src/components/struct/struct.test.tsx +558 -0
- package/src/components/type/declaration.tsx +93 -0
- package/src/components/var/declaration.tsx +138 -0
- package/src/components/var/var-declaration.test.tsx +236 -0
- package/src/context/package.ts +13 -0
- package/src/create-module.test.tsx +128 -0
- package/src/create-module.ts +347 -0
- package/src/index.ts +5 -0
- package/src/name-policy.ts +65 -0
- package/src/scopes/contexts.ts +45 -0
- package/src/scopes/factories.ts +29 -0
- package/src/scopes/function.ts +22 -0
- package/src/scopes/go.ts +18 -0
- package/src/scopes/index.ts +9 -0
- package/src/scopes/lexical.ts +14 -0
- package/src/scopes/module.ts +35 -0
- package/src/scopes/named-type.ts +49 -0
- package/src/scopes/package.ts +55 -0
- package/src/scopes/source-file.ts +66 -0
- package/src/symbols/factories.ts +234 -0
- package/src/symbols/function.ts +17 -0
- package/src/symbols/go.ts +82 -0
- package/src/symbols/index.ts +6 -0
- package/src/symbols/named-type.ts +90 -0
- package/src/symbols/package.ts +54 -0
- package/src/symbols/reference.ts +87 -0
- package/temp/api.json +8753 -0
- package/test/utils.tsx +77 -0
- package/test/vitest.setup.ts +1 -0
- package/tsconfig.json +15 -0
- package/tsdoc-metadata.json +11 -0
- package/vitest.config.ts +13 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Changelog - @alloy-js/go
|
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright 2024 Microsoft
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
export declare const fmt: import("../../create-module.js").LibraryFrom<{
|
|
2
|
+
kind: "package";
|
|
3
|
+
members: {
|
|
4
|
+
Append: {
|
|
5
|
+
kind: "function";
|
|
6
|
+
};
|
|
7
|
+
Appendf: {
|
|
8
|
+
kind: "function";
|
|
9
|
+
};
|
|
10
|
+
Appendln: {
|
|
11
|
+
kind: "function";
|
|
12
|
+
};
|
|
13
|
+
Errorf: {
|
|
14
|
+
kind: "function";
|
|
15
|
+
};
|
|
16
|
+
FormatString: {
|
|
17
|
+
kind: "function";
|
|
18
|
+
};
|
|
19
|
+
Fprint: {
|
|
20
|
+
kind: "function";
|
|
21
|
+
};
|
|
22
|
+
Fprintf: {
|
|
23
|
+
kind: "function";
|
|
24
|
+
};
|
|
25
|
+
Fprintln: {
|
|
26
|
+
kind: "function";
|
|
27
|
+
};
|
|
28
|
+
Fscan: {
|
|
29
|
+
kind: "function";
|
|
30
|
+
};
|
|
31
|
+
Fscanf: {
|
|
32
|
+
kind: "function";
|
|
33
|
+
};
|
|
34
|
+
Fscanln: {
|
|
35
|
+
kind: "function";
|
|
36
|
+
};
|
|
37
|
+
Print: {
|
|
38
|
+
kind: "function";
|
|
39
|
+
};
|
|
40
|
+
Printf: {
|
|
41
|
+
kind: "function";
|
|
42
|
+
};
|
|
43
|
+
Println: {
|
|
44
|
+
kind: "function";
|
|
45
|
+
};
|
|
46
|
+
Scan: {
|
|
47
|
+
kind: "function";
|
|
48
|
+
};
|
|
49
|
+
Scanf: {
|
|
50
|
+
kind: "function";
|
|
51
|
+
};
|
|
52
|
+
Scanln: {
|
|
53
|
+
kind: "function";
|
|
54
|
+
};
|
|
55
|
+
Sprint: {
|
|
56
|
+
kind: "function";
|
|
57
|
+
};
|
|
58
|
+
Sprintf: {
|
|
59
|
+
kind: "function";
|
|
60
|
+
};
|
|
61
|
+
Sprintln: {
|
|
62
|
+
kind: "function";
|
|
63
|
+
};
|
|
64
|
+
Sscan: {
|
|
65
|
+
kind: "function";
|
|
66
|
+
};
|
|
67
|
+
Sscanf: {
|
|
68
|
+
kind: "function";
|
|
69
|
+
};
|
|
70
|
+
Sscanln: {
|
|
71
|
+
kind: "function";
|
|
72
|
+
};
|
|
73
|
+
Formatter: {
|
|
74
|
+
kind: "interface";
|
|
75
|
+
members: {
|
|
76
|
+
Format: {
|
|
77
|
+
kind: "field";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
GoStringer: {
|
|
82
|
+
kind: "interface";
|
|
83
|
+
members: {
|
|
84
|
+
GoString: {
|
|
85
|
+
kind: "field";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
ScanState: {
|
|
90
|
+
kind: "interface";
|
|
91
|
+
members: {
|
|
92
|
+
ReadRune: {
|
|
93
|
+
kind: "field";
|
|
94
|
+
};
|
|
95
|
+
UnreadRune: {
|
|
96
|
+
kind: "field";
|
|
97
|
+
};
|
|
98
|
+
SkipSpace: {
|
|
99
|
+
kind: "field";
|
|
100
|
+
};
|
|
101
|
+
Token: {
|
|
102
|
+
kind: "field";
|
|
103
|
+
};
|
|
104
|
+
Width: {
|
|
105
|
+
kind: "field";
|
|
106
|
+
};
|
|
107
|
+
Read: {
|
|
108
|
+
kind: "field";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
Scanner: {
|
|
113
|
+
kind: "interface";
|
|
114
|
+
members: {
|
|
115
|
+
Scan: {
|
|
116
|
+
kind: "field";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
State: {
|
|
121
|
+
kind: "interface";
|
|
122
|
+
members: {
|
|
123
|
+
Write: {
|
|
124
|
+
kind: "field";
|
|
125
|
+
};
|
|
126
|
+
Width: {
|
|
127
|
+
kind: "field";
|
|
128
|
+
};
|
|
129
|
+
Precision: {
|
|
130
|
+
kind: "field";
|
|
131
|
+
};
|
|
132
|
+
Flag: {
|
|
133
|
+
kind: "field";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
Stringer: {
|
|
138
|
+
kind: "interface";
|
|
139
|
+
members: {
|
|
140
|
+
String: {
|
|
141
|
+
kind: "field";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}>;
|
|
147
|
+
//# sourceMappingURL=fmt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fmt.d.ts","sourceRoot":"","sources":["../../../../src/builtins/fmt/fmt.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2Ef,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { createModule } from "../../create-module.js";
|
|
2
|
+
export const fmt = createModule("fmt", {
|
|
3
|
+
kind: "package",
|
|
4
|
+
members: {
|
|
5
|
+
Append: {
|
|
6
|
+
kind: "function"
|
|
7
|
+
},
|
|
8
|
+
Appendf: {
|
|
9
|
+
kind: "function"
|
|
10
|
+
},
|
|
11
|
+
Appendln: {
|
|
12
|
+
kind: "function"
|
|
13
|
+
},
|
|
14
|
+
Errorf: {
|
|
15
|
+
kind: "function"
|
|
16
|
+
},
|
|
17
|
+
FormatString: {
|
|
18
|
+
kind: "function"
|
|
19
|
+
},
|
|
20
|
+
Fprint: {
|
|
21
|
+
kind: "function"
|
|
22
|
+
},
|
|
23
|
+
Fprintf: {
|
|
24
|
+
kind: "function"
|
|
25
|
+
},
|
|
26
|
+
Fprintln: {
|
|
27
|
+
kind: "function"
|
|
28
|
+
},
|
|
29
|
+
Fscan: {
|
|
30
|
+
kind: "function"
|
|
31
|
+
},
|
|
32
|
+
Fscanf: {
|
|
33
|
+
kind: "function"
|
|
34
|
+
},
|
|
35
|
+
Fscanln: {
|
|
36
|
+
kind: "function"
|
|
37
|
+
},
|
|
38
|
+
Print: {
|
|
39
|
+
kind: "function"
|
|
40
|
+
},
|
|
41
|
+
Printf: {
|
|
42
|
+
kind: "function"
|
|
43
|
+
},
|
|
44
|
+
Println: {
|
|
45
|
+
kind: "function"
|
|
46
|
+
},
|
|
47
|
+
Scan: {
|
|
48
|
+
kind: "function"
|
|
49
|
+
},
|
|
50
|
+
Scanf: {
|
|
51
|
+
kind: "function"
|
|
52
|
+
},
|
|
53
|
+
Scanln: {
|
|
54
|
+
kind: "function"
|
|
55
|
+
},
|
|
56
|
+
Sprint: {
|
|
57
|
+
kind: "function"
|
|
58
|
+
},
|
|
59
|
+
Sprintf: {
|
|
60
|
+
kind: "function"
|
|
61
|
+
},
|
|
62
|
+
Sprintln: {
|
|
63
|
+
kind: "function"
|
|
64
|
+
},
|
|
65
|
+
Sscan: {
|
|
66
|
+
kind: "function"
|
|
67
|
+
},
|
|
68
|
+
Sscanf: {
|
|
69
|
+
kind: "function"
|
|
70
|
+
},
|
|
71
|
+
Sscanln: {
|
|
72
|
+
kind: "function"
|
|
73
|
+
},
|
|
74
|
+
Formatter: {
|
|
75
|
+
kind: "interface",
|
|
76
|
+
members: {
|
|
77
|
+
Format: {
|
|
78
|
+
kind: "field"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
GoStringer: {
|
|
83
|
+
kind: "interface",
|
|
84
|
+
members: {
|
|
85
|
+
GoString: {
|
|
86
|
+
kind: "field"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
ScanState: {
|
|
91
|
+
kind: "interface",
|
|
92
|
+
members: {
|
|
93
|
+
ReadRune: {
|
|
94
|
+
kind: "field"
|
|
95
|
+
},
|
|
96
|
+
UnreadRune: {
|
|
97
|
+
kind: "field"
|
|
98
|
+
},
|
|
99
|
+
SkipSpace: {
|
|
100
|
+
kind: "field"
|
|
101
|
+
},
|
|
102
|
+
Token: {
|
|
103
|
+
kind: "field"
|
|
104
|
+
},
|
|
105
|
+
Width: {
|
|
106
|
+
kind: "field"
|
|
107
|
+
},
|
|
108
|
+
Read: {
|
|
109
|
+
kind: "field"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
Scanner: {
|
|
114
|
+
kind: "interface",
|
|
115
|
+
members: {
|
|
116
|
+
Scan: {
|
|
117
|
+
kind: "field"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
State: {
|
|
122
|
+
kind: "interface",
|
|
123
|
+
members: {
|
|
124
|
+
Write: {
|
|
125
|
+
kind: "field"
|
|
126
|
+
},
|
|
127
|
+
Width: {
|
|
128
|
+
kind: "field"
|
|
129
|
+
},
|
|
130
|
+
Precision: {
|
|
131
|
+
kind: "field"
|
|
132
|
+
},
|
|
133
|
+
Flag: {
|
|
134
|
+
kind: "field"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
Stringer: {
|
|
139
|
+
kind: "interface",
|
|
140
|
+
members: {
|
|
141
|
+
String: {
|
|
142
|
+
kind: "field"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}, true);
|
|
148
|
+
//# sourceMappingURL=fmt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createModule","fmt","kind","members","Append","Appendf","Appendln","Errorf","FormatString","Fprint","Fprintf","Fprintln","Fscan","Fscanf","Fscanln","Print","Printf","Println","Scan","Scanf","Scanln","Sprint","Sprintf","Sprintln","Sscan","Sscanf","Sscanln","Formatter","Format","GoStringer","GoString","ScanState","ReadRune","UnreadRune","SkipSpace","Token","Width","Read","Scanner","State","Write","Precision","Flag","Stringer","String"],"sources":["../../../../src/builtins/fmt/fmt.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,YAAY,QAA0B,wBAAwB;AAEvE,OAAO,MAAMC,GAAG,GAAGD,YAAY,CAC7B,KAAK,EACL;EACEE,IAAI,EAAE,SAAS;EACfC,OAAO,EAAE;IACPC,MAAM,EAAE;MAAEF,IAAI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