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AAE;SACxE,CAAC,CAAC;QAEH,cAAc,CAAC,yBAAyB,CAAC,qBAAW,CAAC,OAAO,EAAE;YAC5D,qBAAW,CAAC,UAAU;YACtB,qBAAW,CAAC,SAAS;YACrB,qBAAW,CAAC,YAAY;YACxB,qBAAW,CAAC,UAAU;SACvB,CAAC,CAAC;QAEH,cAAc,CAAC,yBAAyB,CAAC,qBAAW,CAAC,SAAS,EAAE;YAC9D,qBAAW,CAAC,QAAQ;YACpB,qBAAW,CAAC,QAAQ;YACpB,qBAAW,CAAC,SAAS;YACrB,qBAAW,CAAC,WAAW;YACvB,qBAAW,CAAC,YAAY;YACxB,qBAAW,CAAC,UAAU;YACtB,qBAAW,CAAC,SAAS;YACrB,qBAAW,CAAC,OAAO;YACnB,qBAAW,CAAC,SAAS;YACrB,qBAAW,CAAC,SAAS;SACtB,CAAC,CAAC;IACL,CAAC;IACH,sBAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,0CAAe","sourcesContent":["import { TSDocConfiguration } from '../configuration/TSDocConfiguration';\r\nimport { DocNodeManager } from '../configuration/DocNodeManager';\r\nimport { DocNodeKind } from './DocNode';\r\nimport * as nodes from '..';\r\n\r\nexport class BuiltInDocNodes {\r\n public static register(configuration: TSDocConfiguration): void {\r\n const docNodeManager: DocNodeManager = configuration.docNodeManager;\r\n\r\n docNodeManager.registerDocNodes('@microsoft/tsdoc', [\r\n { docNodeKind: DocNodeKind.Block, constructor: nodes.DocBlock },\r\n { docNodeKind: DocNodeKind.BlockTag, constructor: nodes.DocBlockTag },\r\n { docNodeKind: DocNodeKind.CodeSpan, constructor: nodes.DocCodeSpan },\r\n { docNodeKind: DocNodeKind.Comment, constructor: nodes.DocComment },\r\n { docNodeKind: DocNodeKind.DeclarationReference, constructor: nodes.DocDeclarationReference },\r\n { docNodeKind: DocNodeKind.ErrorText, constructor: nodes.DocErrorText },\r\n { docNodeKind: DocNodeKind.EscapedText, constructor: nodes.DocEscapedText },\r\n { docNodeKind: DocNodeKind.Excerpt, constructor: nodes.DocExcerpt },\r\n { docNodeKind: DocNodeKind.FencedCode, constructor: nodes.DocFencedCode },\r\n { docNodeKind: DocNodeKind.HtmlAttribute, constructor: nodes.DocHtmlAttribute },\r\n { docNodeKind: DocNodeKind.HtmlEndTag, constructor: nodes.DocHtmlEndTag },\r\n { docNodeKind: DocNodeKind.HtmlStartTag, constructor: nodes.DocHtmlStartTag },\r\n { docNodeKind: DocNodeKind.InheritDocTag, constructor: nodes.DocInheritDocTag },\r\n { docNodeKind: DocNodeKind.InlineTag, constructor: nodes.DocInlineTag },\r\n { docNodeKind: DocNodeKind.LinkTag, constructor: nodes.DocLinkTag },\r\n { docNodeKind: DocNodeKind.MemberIdentifier, constructor: nodes.DocMemberIdentifier },\r\n { docNodeKind: DocNodeKind.MemberReference, constructor: nodes.DocMemberReference },\r\n { docNodeKind: DocNodeKind.MemberSelector, constructor: nodes.DocMemberSelector },\r\n { docNodeKind: DocNodeKind.MemberSymbol, constructor: nodes.DocMemberSymbol },\r\n { docNodeKind: DocNodeKind.Paragraph, constructor: nodes.DocParagraph },\r\n { docNodeKind: DocNodeKind.ParamBlock, constructor: nodes.DocParamBlock },\r\n { docNodeKind: DocNodeKind.ParamCollection, constructor: nodes.DocParamCollection },\r\n { docNodeKind: DocNodeKind.PlainText, constructor: nodes.DocPlainText },\r\n { docNodeKind: DocNodeKind.Section, constructor: nodes.DocSection },\r\n { docNodeKind: DocNodeKind.SoftBreak, constructor: nodes.DocSoftBreak }\r\n ]);\r\n\r\n docNodeManager.registerAllowableChildren(DocNodeKind.Section, [\r\n DocNodeKind.FencedCode,\r\n DocNodeKind.Paragraph,\r\n DocNodeKind.HtmlStartTag,\r\n DocNodeKind.HtmlEndTag\r\n ]);\r\n\r\n docNodeManager.registerAllowableChildren(DocNodeKind.Paragraph, [\r\n DocNodeKind.BlockTag,\r\n DocNodeKind.CodeSpan,\r\n DocNodeKind.ErrorText,\r\n DocNodeKind.EscapedText,\r\n DocNodeKind.HtmlStartTag,\r\n DocNodeKind.HtmlEndTag,\r\n DocNodeKind.InlineTag,\r\n DocNodeKind.LinkTag,\r\n DocNodeKind.PlainText,\r\n DocNodeKind.SoftBreak\r\n ]);\r\n }\r\n}\r\n"]}