michangarrito/apps/whatsapp-service/node_modules/@microsoft/tsdoc/lib/parser/TSDocParser.js
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -06:00

38 lines
1.5 KiB
JavaScript

// 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';
import { Tokenizer } from './Tokenizer';
import { NodeParser } from './NodeParser';
import { TSDocConfiguration } from '../configuration/TSDocConfiguration';
import { ParagraphSplitter } from './ParagraphSplitter';
/**
* The main API for parsing TSDoc comments.
*/
var TSDocParser = /** @class */ (function () {
function TSDocParser(configuration) {
if (configuration) {
this.configuration = configuration;
}
else {
this.configuration = new TSDocConfiguration();
}
}
TSDocParser.prototype.parseString = function (text) {
return this.parseRange(TextRange.fromString(text));
};
TSDocParser.prototype.parseRange = function (range) {
var parserContext = new ParserContext(this.configuration, range);
if (LineExtractor.extract(parserContext)) {
parserContext.tokens = Tokenizer.readTokens(parserContext.lines);
var nodeParser = new NodeParser(parserContext);
nodeParser.parse();
ParagraphSplitter.splitParagraphs(parserContext.docComment);
}
return parserContext;
};
return TSDocParser;
}());
export { TSDocParser };
//# sourceMappingURL=TSDocParser.js.map