Fix lint and build issues.
This commit is contained in:
Родитель
ee1b783657
Коммит
c908cc830b
|
@ -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.
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче