ff959096df
* First draft Solves the initial problem but breaks commentCommentParsing. I also found a couple more interesting cases. * Add more tests and fix their bugs * Another test case * Some cleanup I may try do a little more; `margin += tag.end - tag.pos` bothers me a bit. * More cleanup
49 lines
726 B
TypeScript
49 lines
726 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
/////**
|
|
//// * @example
|
|
//// * if (true) {
|
|
//// * foo()
|
|
//// * }
|
|
//// */
|
|
////function fo/*1*/o() {
|
|
//// return '2';
|
|
////}
|
|
/////**
|
|
//// @example
|
|
//// {
|
|
//// foo()
|
|
//// }
|
|
//// */
|
|
////function fo/*2*/o2() {
|
|
//// return '2';
|
|
////}
|
|
/////**
|
|
//// * @example
|
|
//// * x y
|
|
//// * 12345
|
|
//// * b
|
|
//// */
|
|
////function m/*3*/oo() {
|
|
//// return '2';
|
|
////}
|
|
/////**
|
|
//// * @func
|
|
//// * @example
|
|
//// * x y
|
|
//// * 12345
|
|
//// * b
|
|
//// */
|
|
////function b/*4*/oo() {
|
|
//// return '2';
|
|
////}
|
|
/////**
|
|
//// * @func
|
|
//// * @example x y
|
|
//// * 12345
|
|
//// * b
|
|
//// */
|
|
////function go/*5*/o() {
|
|
//// return '2';
|
|
////}
|
|
verify.baselineQuickInfo();
|