File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,18 @@ export function parseType(
162
162
return type ;
163
163
}
164
164
165
- class Parser {
165
+ /**
166
+ * This class is exported only to assist people in implementing their own parsers
167
+ * without duplicating too much code and should be used only as last resort for cases
168
+ * such as experimental syntax or if certain features could not be contributed upstream.
169
+ *
170
+ * It is still part of the internal API and is versioned, so any changes to it are never
171
+ * considered breaking changes. If you still need to support multiple versions of the
172
+ * library, please use the `versionInfo` variable for version detection.
173
+ *
174
+ * @internal
175
+ */
176
+ export class Parser {
166
177
_options : ?ParseOptions ;
167
178
_lexer : Lexer ;
168
179
You can’t perform that action at this time.
0 commit comments