This commit is contained in:
Ian Clanton-Thuon 2024-05-28 01:11:09 -07:00
Родитель ee1b783657
Коммит c908cc830b
101 изменённых файлов: 463 добавлений и 152 удалений

Просмотреть файл

@ -1,4 +1,7 @@
import { DocNode, DocExcerpt } from '@microsoft/tsdoc';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type DocNode, DocExcerpt } from '@microsoft/tsdoc';
/**
* This is a simplistic solution until we implement proper DocNode rendering APIs.

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import colors from 'colors';
import * as os from 'os';
import * as path from 'path';

Просмотреть файл

@ -1,8 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import colors from 'colors';
import * as fs from 'fs';
import * as path from 'path';
import * as os from 'os';
import { TSDocParser, ParserContext, DocComment } from '@microsoft/tsdoc';
import { TSDocParser, type ParserContext, type DocComment } from '@microsoft/tsdoc';
import { Formatter } from './Formatter';
/**

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as colors from 'colors';
import * as os from 'os';
import { simpleDemo } from './simpleDemo';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocConfigFile } from '@microsoft/tsdoc-config';
import * as path from 'path';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
export class Debug {
// To debug the plugin, temporarily uncomment the body of this function
public static log(message: string): void {

Просмотреть файл

@ -1,7 +1,10 @@
import * as eslint from 'eslint';
import * as ESTree from 'estree';
import { TSDocParser, TextRange, TSDocConfiguration, ParserContext } from '@microsoft/tsdoc';
import { TSDocConfigFile } from '@microsoft/tsdoc-config';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type * as eslint from 'eslint';
import type * as ESTree from 'estree';
import { TSDocParser, TextRange, TSDocConfiguration, type ParserContext } from '@microsoft/tsdoc';
import type { TSDocConfigFile } from '@microsoft/tsdoc-config';
import { Debug } from './Debug';
import { ConfigCache } from './ConfigCache';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { RuleTester } from 'eslint';
import * as plugin from '../index';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import { PlaygroundView } from './PlaygroundView';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import type * as monacoEditor from 'monaco-editor';
import * as tsdoc from '@microsoft/tsdoc';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import * as tsdoc from '@microsoft/tsdoc';
import { CodeEditor } from './CodeEditor';

Просмотреть файл

@ -1,5 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import * as tsdoc from '@microsoft/tsdoc';
import type * as tsdoc from '@microsoft/tsdoc';
import { CodeEditor } from './CodeEditor';
import { DocHtmlView } from './DocHtmlView';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import * as tsdoc from '@microsoft/tsdoc';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
export interface IFlexDivProps

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import * as tsdoc from '@microsoft/tsdoc';
@ -9,7 +12,7 @@ import { FlexRowDiv, FlexColDiv } from './FlexDivs';
import { DocHtmlView } from './DocHtmlView';
import { DocDomView } from './DocDomView';
import { DocAstView } from './DocAstView';
import { CodeEditor, ISyntaxMarker, IStyledRange } from './CodeEditor';
import { CodeEditor, type ISyntaxMarker, type IStyledRange } from './CodeEditor';
import { DocNodeSyntaxStyler } from './SyntaxStyler/DocNodeSyntaxStyler';
import { SampleInputs } from './samples/SampleInputs';

Просмотреть файл

@ -1,7 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as tsdoc from '@microsoft/tsdoc';
import { MonacoTSDocTheme, IDocNodeSyntaxStylerTheme, IThemeRule } from './DocNodeSyntaxStylerTheme';
import { IStyledRange } from './../CodeEditor';
import {
MonacoTSDocTheme,
type IDocNodeSyntaxStylerTheme,
type IThemeRule
} from './DocNodeSyntaxStylerTheme';
import type { IStyledRange } from './../CodeEditor';
import './syntaxStyles.css';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
export interface IThemeRule {
foreground?: string;
background?: string;

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import { FlexRowDiv, FlexColDiv } from './FlexDivs';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';

Просмотреть файл

@ -1,13 +1,16 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
TSDocTagDefinition,
TSDocTagSyntaxKind,
TSDocConfiguration,
type TSDocConfiguration,
ParserMessageLog,
TSDocMessageId,
ParserMessage,
TextRange,
IParserMessageParameters,
ITSDocTagDefinitionParameters
type IParserMessageParameters,
type ITSDocTagDefinitionParameters
} from '@microsoft/tsdoc';
import * as fs from 'fs';
import * as resolve from 'resolve';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocConfiguration } from '@microsoft/tsdoc';
import * as path from 'path';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocConfiguration, TSDocTagDefinition, TSDocTagSyntaxKind } from '@microsoft/tsdoc';
import * as path from 'path';

Просмотреть файл

@ -1 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
export { TSDocConfigFile } from './TSDocConfigFile';

Просмотреть файл

@ -1,6 +1,9 @@
import { ParserContext, TSDocParser } from '..';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type ParserContext, TSDocParser } from '..';
import { TestHelpers } from '../parser/__tests__/TestHelpers';
import { DocParagraph, DocNode, DocNodeKind } from '../nodes';
import { type DocParagraph, type DocNode, DocNodeKind } from '../nodes';
import { DocNodeTransforms } from '../transforms/DocNodeTransforms';
test('01 trimSpacesInParagraphNodes()', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from '../parser/__tests__/TestHelpers';
import { ParagraphSplitter } from '../parser/ParagraphSplitter';
import { DocSection, DocPlainText, DocSoftBreak, DocParagraph, DocBlockTag } from '../index';

Просмотреть файл

@ -1,7 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
StandardModifierTagSet,
DocComment,
ParserContext,
type StandardModifierTagSet,
type DocComment,
type ParserContext,
TSDocConfiguration,
TSDocTagDefinition,
TSDocTagSyntaxKind

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/* eslint-disable max-lines */
/* eslint-disable @typescript-eslint/array-type */
/* eslint-disable no-return-assign */

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
ModuleSource,
GlobalSource,

Просмотреть файл

@ -1,4 +1,7 @@
import { DocNode } from '../nodes/DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { DocNode } from '../nodes/DocNode';
import { StringChecks } from '../parser/StringChecks';
// eslint-disable-next-line @typescript-eslint/no-explicit-any

Просмотреть файл

@ -1,9 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { StandardTags } from '../details/StandardTags';
import { TSDocTagDefinition } from './TSDocTagDefinition';
import type { TSDocTagDefinition } from './TSDocTagDefinition';
import { TSDocValidationConfiguration } from './TSDocValidationConfiguration';
import { DocNodeManager } from './DocNodeManager';
import { BuiltInDocNodes } from '../nodes/BuiltInDocNodes';
import { TSDocMessageId, allTsdocMessageIds, allTsdocMessageIdsSet } from '../parser/TSDocMessageId';
import { type TSDocMessageId, allTsdocMessageIds, allTsdocMessageIdsSet } from '../parser/TSDocMessageId';
/**
* Configuration for the TSDocParser.

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { StringChecks } from '../parser/StringChecks';
import { Standardization } from '../details/Standardization';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Part of the {@link TSDocConfiguration} object.
*/

Просмотреть файл

@ -1,5 +1,8 @@
import { DocBlockTag } from '../nodes/DocBlockTag';
import { TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { DocBlockTag } from '../nodes/DocBlockTag';
import { type TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
/**
* Represents a set of modifier tags that were extracted from a doc comment.

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { ModifierTagSet } from './ModifierTagSet';
import { StandardTags } from './StandardTags';

Просмотреть файл

@ -1,7 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
TSDocTagDefinition,
TSDocTagSyntaxKind,
ITSDocTagDefinitionInternalParameters
type ITSDocTagDefinitionInternalParameters
} from '../configuration/TSDocTagDefinition';
import { Standardization } from './Standardization';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Used to group the {@link StandardTags} definitions according to the level of support
* expected from documentation tools that implement the standard.

Просмотреть файл

@ -1,11 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
DocNode,
DocNodeKind,
DocPlainText,
DocFencedCode,
DocCodeSpan,
DocLinkTag,
DocEscapedText
type DocPlainText,
type DocFencedCode,
type DocCodeSpan,
type DocLinkTag,
type DocEscapedText
} from '../nodes';
/**

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* An interface for a builder object that allows a large text string to be constructed incrementally by appending
* small chunks.

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type {
DocNode,
DocComment,
@ -25,10 +28,10 @@ import type {
DocParamBlock
} from '../nodes';
import { DocNodeKind } from '../nodes/DocNode';
import { IStringBuilder } from './StringBuilder';
import type { IStringBuilder } from './StringBuilder';
import { DocNodeTransforms } from '../transforms/DocNodeTransforms';
import { StandardTags } from '../details/StandardTags';
import { DocParamCollection } from '../nodes/DocParamCollection';
import type { DocParamCollection } from '../nodes/DocParamCollection';
enum LineState {
Closed,

Просмотреть файл

@ -1,6 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
TSDocParser,
ParserContext,
type ParserContext,
DocHtmlStartTag,
DocHtmlAttribute,
DocDeclarationReference,

Просмотреть файл

@ -1,7 +1,14 @@
export { DocNodeManager, IDocNodeDefinition, DocNodeConstructor } from './configuration/DocNodeManager';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
export {
DocNodeManager,
type IDocNodeDefinition,
type DocNodeConstructor
} from './configuration/DocNodeManager';
export { TSDocConfiguration } from './configuration/TSDocConfiguration';
export {
ITSDocTagDefinitionParameters,
type ITSDocTagDefinitionParameters,
TSDocTagSyntaxKind,
TSDocTagDefinition
} from './configuration/TSDocTagDefinition';
@ -13,17 +20,17 @@ export { StandardModifierTagSet } from './details/StandardModifierTagSet';
export { ModifierTagSet } from './details/ModifierTagSet';
export { PlainTextEmitter } from './emitters/PlainTextEmitter';
export { StringBuilder, IStringBuilder } from './emitters/StringBuilder';
export { StringBuilder, type IStringBuilder } from './emitters/StringBuilder';
export { TSDocEmitter } from './emitters/TSDocEmitter';
export * from './nodes';
export { ParserContext } from './parser/ParserContext';
export { ParserMessage, IParserMessageParameters } from './parser/ParserMessage';
export { ParserMessage, type IParserMessageParameters } from './parser/ParserMessage';
export { ParserMessageLog } from './parser/ParserMessageLog';
export { TextRange, ITextLocation } from './parser/TextRange';
export { TextRange, type ITextLocation } from './parser/TextRange';
export { Token, TokenKind } from './parser/Token';
export { TokenSequence, ITokenSequenceParameters } from './parser/TokenSequence';
export { TokenSequence, type ITokenSequenceParameters } from './parser/TokenSequence';
export { TSDocMessageId } from './parser/TSDocMessageId';
export { TSDocParser } from './parser/TSDocParser';

Просмотреть файл

@ -1,5 +1,8 @@
import { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import { DocNodeManager } from '../configuration/DocNodeManager';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import type { DocNodeManager } from '../configuration/DocNodeManager';
import { DocNodeKind } from './DocNode';
import * as nodes from '..';

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import { DocSection } from './DocSection';
import { DocBlockTag } from './DocBlockTag';
import type { DocBlockTag } from './DocBlockTag';
/**
* Constructor parameters for {@link DocBlock}.

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import { StringChecks } from '../parser/StringChecks';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, IDocNodeParameters, DocNode, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,8 +1,11 @@
import { DocNode, DocNodeKind, IDocNodeParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters } from './DocNode';
import { DocSection } from './DocSection';
import { StandardModifierTagSet } from '../details/StandardModifierTagSet';
import { DocBlock } from './DocBlock';
import { DocInheritDocTag } from './DocInheritDocTag';
import type { DocBlock } from './DocBlock';
import type { DocInheritDocTag } from './DocInheritDocTag';
import { StringBuilder } from '../emitters/StringBuilder';
import { TSDocEmitter } from '../emitters/TSDocEmitter';
import { DocParamCollection } from './DocParamCollection';

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNode, DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { DocMemberReference } from './DocMemberReference';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { DocMemberReference } from './DocMemberReference';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { StringBuilder } from '../emitters/StringBuilder';
import { TSDocEmitter } from '../emitters/TSDocEmitter';

Просмотреть файл

@ -1,7 +1,10 @@
import { DocNodeKind, DocNode, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { TSDocMessageId } from '../parser/TSDocMessageId';
import type { TSDocMessageId } from '../parser/TSDocMessageId';
/**
* Constructor parameters for {@link DocErrorText}.

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, IDocNodeParsedParameters, DocNode } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type IDocNodeParsedParameters, DocNode } from './DocNode';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
/**
* Constructor parameters for {@link DocEscapedText}.

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNode, IDocNodeParameters, DocNodeKind } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, type IDocNodeParameters, DocNodeKind } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { TokenKind } from '../parser/Token';
/* eslint-disable @typescript-eslint/naming-convention */

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, IDocNodeParameters, DocNode, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNode, DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNode, DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { StringBuilder } from '../emitters/StringBuilder';
import { TSDocEmitter } from '../emitters/TSDocEmitter';

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNode, DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { DocHtmlAttribute } from './DocHtmlAttribute';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { DocHtmlAttribute } from './DocHtmlAttribute';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { StringBuilder } from '../emitters/StringBuilder';
import { TSDocEmitter } from '../emitters/TSDocEmitter';

Просмотреть файл

@ -1,9 +1,12 @@
import { DocNodeKind, DocNode } from './DocNode';
import { DocDeclarationReference } from './DocDeclarationReference';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type DocNode } from './DocNode';
import type { DocDeclarationReference } from './DocDeclarationReference';
import {
DocInlineTagBase,
IDocInlineTagBaseParsedParameters,
IDocInlineTagBaseParameters
type IDocInlineTagBaseParsedParameters,
type IDocInlineTagBaseParameters
} from './DocInlineTagBase';
/**

Просмотреть файл

@ -1,9 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import {
IDocInlineTagBaseParameters,
IDocInlineTagBaseParsedParameters,
type IDocInlineTagBaseParameters,
type IDocInlineTagBaseParsedParameters,
DocInlineTagBase
} from './DocInlineTagBase';

Просмотреть файл

@ -1,6 +1,9 @@
import { IDocNodeParameters, DocNode, IDocNodeParsedParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
import { StringChecks } from '../parser/StringChecks';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,12 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode } from './DocNode';
import { DocDeclarationReference } from './DocDeclarationReference';
import type { DocDeclarationReference } from './DocDeclarationReference';
import {
DocInlineTagBase,
IDocInlineTagBaseParsedParameters,
IDocInlineTagBaseParameters
type IDocInlineTagBaseParsedParameters,
type IDocInlineTagBaseParameters
} from './DocInlineTagBase';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
/**
* Constructor parameters for {@link DocLinkTag}.

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import { StringChecks } from '../parser/StringChecks';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,8 +1,11 @@
import { DocNode, DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { DocMemberIdentifier } from './DocMemberIdentifier';
import { DocMemberSymbol } from './DocMemberSymbol';
import { DocMemberSelector } from './DocMemberSelector';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { DocMemberIdentifier } from './DocMemberIdentifier';
import type { DocMemberSymbol } from './DocMemberSymbol';
import type { DocMemberSelector } from './DocMemberSelector';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, DocNode, IDocNodeParsedParameters, IDocNodeParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParsedParameters, type IDocNodeParameters } from './DocNode';
import { StringChecks } from '../parser/StringChecks';
import { TokenSequence } from '../parser/TokenSequence';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,6 +1,9 @@
import { DocNodeKind, DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { DocDeclarationReference } from './DocDeclarationReference';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
import type { DocDeclarationReference } from './DocDeclarationReference';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,4 +1,7 @@
import { TSDocConfiguration } from '../configuration/TSDocConfiguration';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { TSDocConfiguration } from '../configuration/TSDocConfiguration';
/**
* Indicates the type of {@link DocNode}.

Просмотреть файл

@ -1,4 +1,7 @@
import { DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
/**
* Constructor parameters for {@link DocNodeContainer}.

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, DocNode } from './DocNode';
import { DocNodeContainer, IDocNodeContainerParameters } from './DocNodeContainer';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type DocNode } from './DocNode';
import { DocNodeContainer, type IDocNodeContainerParameters } from './DocNodeContainer';
/**
* Constructor parameters for {@link DocParagraph}.

Просмотреть файл

@ -1,6 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode } from './DocNode';
import { DocBlock, IDocBlockParameters, IDocBlockParsedParameters } from './DocBlock';
import { TokenSequence } from '../parser/TokenSequence';
import { DocBlock, type IDocBlockParameters, type IDocBlockParsedParameters } from './DocBlock';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, DocNode, IDocNodeParameters } from './DocNode';
import { DocParamBlock } from './DocParamBlock';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, DocNode, type IDocNodeParameters } from './DocNode';
import type { DocParamBlock } from './DocParamBlock';
/**
* Constructor parameters for {@link DocParamCollection}.

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, IDocNodeParameters, IDocNodeParsedParameters, DocNode } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type IDocNodeParameters, type IDocNodeParsedParameters, DocNode } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,9 +1,12 @@
import { DocNode, DocNodeKind } from './DocNode';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type DocNode, DocNodeKind } from './DocNode';
import { DocParagraph } from './DocParagraph';
import {
DocNodeContainer,
IDocNodeContainerParameters,
IDocNodeContainerParsedParameters
type IDocNodeContainerParameters,
type IDocNodeContainerParsedParameters
} from './DocNodeContainer';
/**

Просмотреть файл

@ -1,5 +1,8 @@
import { DocNodeKind, IDocNodeParameters, DocNode, IDocNodeParsedParameters } from './DocNode';
import { TokenSequence } from '../parser/TokenSequence';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocNodeKind, type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
import type { TokenSequence } from '../parser/TokenSequence';
import { DocExcerpt, ExcerptKind } from './DocExcerpt';
/**

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
export * from './DocBlock';
export * from './DocBlockTag';
export * from './DocCodeSpan';

Просмотреть файл

@ -1,5 +1,8 @@
import { TextRange } from './TextRange';
import { ParserContext } from './ParserContext';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { TextRange } from './TextRange';
import type { ParserContext } from './ParserContext';
import { TSDocMessageId } from './TSDocMessageId';
// Internal parser state

Просмотреть файл

@ -1,7 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/* eslint-disable max-lines */
import { ParserContext } from './ParserContext';
import { Token, TokenKind } from './Token';
import type { ParserContext } from './ParserContext';
import { type Token, TokenKind } from './Token';
import { Tokenizer } from './Tokenizer';
import {
DocBlockTag,
@ -12,36 +15,36 @@ import {
DocHtmlEndTag,
DocHtmlStartTag,
DocInlineTag,
DocNode,
type DocNode,
DocPlainText,
DocSoftBreak,
EscapeStyle,
DocComment,
type DocComment,
DocBlock,
DocNodeKind,
DocSection,
type DocSection,
DocParamBlock,
DocFencedCode,
DocLinkTag,
IDocLinkTagParameters,
type IDocLinkTagParameters,
DocMemberReference,
DocDeclarationReference,
DocMemberSymbol,
DocMemberIdentifier,
DocMemberSelector,
DocInheritDocTag,
IDocInheritDocTagParameters,
IDocInlineTagParsedParameters,
DocInlineTagBase,
IDocLinkTagParsedParameters,
IDocMemberReferenceParsedParameters
type IDocInheritDocTagParameters,
type IDocInlineTagParsedParameters,
type DocInlineTagBase,
type IDocLinkTagParsedParameters,
type IDocMemberReferenceParsedParameters
} from '../nodes';
import { TokenSequence } from './TokenSequence';
import { TokenReader } from './TokenReader';
import { StringChecks } from './StringChecks';
import { ModifierTagSet } from '../details/ModifierTagSet';
import { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import { TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
import type { ModifierTagSet } from '../details/ModifierTagSet';
import type { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import { type TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
import { StandardTags } from '../details/StandardTags';
import { PlainTextEmitter } from '../emitters/PlainTextEmitter';
import { TSDocMessageId } from './TSDocMessageId';

Просмотреть файл

@ -1,4 +1,7 @@
import { DocSection, DocNode, DocNodeKind, DocParagraph, DocPlainText } from '../nodes';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { DocSection, type DocNode, DocNodeKind, DocParagraph, type DocPlainText } from '../nodes';
/**
* The ParagraphSplitter is a secondary stage that runs after the NodeParser has constructed

Просмотреть файл

@ -1,7 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TextRange } from './TextRange';
import { Token } from './Token';
import type { Token } from './Token';
import { DocComment } from '../nodes';
import { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import type { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import { ParserMessageLog } from './ParserMessageLog';
/**

Просмотреть файл

@ -1,7 +1,10 @@
import { TextRange, ITextLocation } from './TextRange';
import { TokenSequence } from './TokenSequence';
import { DocNode } from '../nodes/DocNode';
import { TSDocMessageId } from './TSDocMessageId';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { TextRange, ITextLocation } from './TextRange';
import type { TokenSequence } from './TokenSequence';
import type { DocNode } from '../nodes/DocNode';
import type { TSDocMessageId } from './TSDocMessageId';
/**
* Constructor parameters for {@link ParserMessage}.

Просмотреть файл

@ -1,9 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { ParserMessage } from './ParserMessage';
import { TextRange } from './TextRange';
import { TokenSequence } from './TokenSequence';
import { DocNode } from '../nodes/DocNode';
import { DocErrorText } from '../nodes/DocErrorText';
import { TSDocMessageId } from './TSDocMessageId';
import type { TextRange } from './TextRange';
import type { TokenSequence } from './TokenSequence';
import type { DocNode } from '../nodes/DocNode';
import type { DocErrorText } from '../nodes/DocErrorText';
import type { TSDocMessageId } from './TSDocMessageId';
/**
* Used to report errors and warnings that occurred during parsing.

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Helpers for validating various text string formats.
*/

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Unique identifiers for messages reported by the TSDoc parser.
*

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TextRange } from './TextRange';
import { ParserContext } from './ParserContext';
import { LineExtractor } from './LineExtractor';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Text coordinates represented as a line number and column number.
*

Просмотреть файл

@ -1,4 +1,7 @@
import { TextRange } from './TextRange';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { TextRange } from './TextRange';
/**
* Distinguishes different types of Token objects.

Просмотреть файл

@ -1,6 +1,9 @@
import { Token, TokenKind } from './Token';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type Token, TokenKind } from './Token';
import { TokenSequence } from './TokenSequence';
import { ParserContext } from './ParserContext';
import type { ParserContext } from './ParserContext';
/**
* Manages a stream of tokens that are read by the parser.

Просмотреть файл

@ -1,5 +1,8 @@
import { ParserContext } from './ParserContext';
import { Token } from './Token';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type { ParserContext } from './ParserContext';
import type { Token } from './Token';
import { TextRange } from './TextRange';
/**

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TextRange } from './TextRange';
import { Token, TokenKind } from './Token';

Просмотреть файл

@ -1,6 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocParser } from '../TSDocParser';
import { TestHelpers } from './TestHelpers';
import { ParserContext } from '../ParserContext';
import type { ParserContext } from '../ParserContext';
function parseAndMatchSnapshot(buffer: string): void {
const tsdocParser: TSDocParser = new TSDocParser();

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Tokenizer simple case', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Code span basic, positive', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocConfiguration } from '../../configuration/TSDocConfiguration';
import { TestHelpers } from './TestHelpers';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 InheritDoc tag: positive examples', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Link text: positive examples', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Simple member references: positive examples', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Symbol references: positive examples', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Block tags: positive examples', () => {

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TestHelpers } from './TestHelpers';
test('00 Deprecated block: positive test', () => {

Просмотреть файл

@ -1,7 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocParser } from '../TSDocParser';
import { TextRange } from '../TextRange';
import { DocErrorText, DocNode, DocComment, DocPlainText, DocExcerpt } from '../../nodes';
import { ParserContext } from '../ParserContext';
import type { TextRange } from '../TextRange';
import { DocErrorText, type DocNode, type DocComment, DocPlainText, DocExcerpt } from '../../nodes';
import type { ParserContext } from '../ParserContext';
import { TSDocConfiguration } from '../../configuration/TSDocConfiguration';
import { TokenCoverageChecker } from './TokenCoverageChecker';

Просмотреть файл

@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TextRange } from '../TextRange';
import { TestHelpers } from './TestHelpers';

Просмотреть файл

@ -1,7 +1,10 @@
import { DocNode, DocExcerpt } from '../../nodes';
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { type DocNode, DocExcerpt } from '../../nodes';
import { TokenSequence } from '../TokenSequence';
import { ParserContext } from '../ParserContext';
import { TokenKind, Token } from '../Token';
import type { ParserContext } from '../ParserContext';
import { TokenKind, type Token } from '../Token';
interface ITokenAssociation {
docNode: DocNode;

Просмотреть файл

@ -1,8 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TSDocParser } from '../TSDocParser';
import { Tokenizer } from '../Tokenizer';
import { Token, TokenKind } from '../Token';
import { type Token, TokenKind } from '../Token';
import { TestHelpers } from './TestHelpers';
import { ParserContext } from '../ParserContext';
import type { ParserContext } from '../ParserContext';
interface ISnapshotItem {
indexOfLine: number;

Просмотреть файл

@ -1,5 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { TrimSpacesTransform } from './TrimSpacesTransform';
import { DocParagraph } from '../nodes';
import type { DocParagraph } from '../nodes';
/**
* Helper functions that transform DocNode trees.

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше