@@ -1542,68 +1542,74 @@ namespace ts {
15421542 export const unknown = "" ;
15431543 export const warning = "warning" ;
15441544
1545- // predefined type (void) or keyword (class)
1545+ /** predefined type (void) or keyword (class) */
15461546 export const keyword = "keyword" ;
15471547
1548- // top level script node
1548+ /** top level script node */
15491549 export const scriptElement = "script" ;
15501550
1551- // module foo {}
1551+ /** module foo {} */
15521552 export const moduleElement = "module" ;
15531553
1554- // class X {}
1554+ /** class X {} */
15551555 export const classElement = "class" ;
15561556
1557- // var x = class X {}
1557+ /** var x = class X {} */
15581558 export const localClassElement = "local class" ;
15591559
1560- // interface Y {}
1560+ /** interface Y {} */
15611561 export const interfaceElement = "interface" ;
15621562
1563- // type T = ...
1563+ /** type T = ... */
15641564 export const typeElement = "type" ;
15651565
1566- // enum E
1566+ /** enum E */
15671567 export const enumElement = "enum" ;
15681568
1569- // Inside module and script only
1570- // const v = ..
1569+ /**
1570+ * Inside module and script only
1571+ * const v = ..
1572+ */
15711573 export const variableElement = "var" ;
15721574
1573- // Inside function
1575+ /** Inside function */
15741576 export const localVariableElement = "local var" ;
15751577
1576- // Inside module and script only
1577- // function f() { }
1578+ /**
1579+ * Inside module and script only
1580+ * function f() { }
1581+ */
15781582 export const functionElement = "function" ;
15791583
1580- // Inside function
1584+ /** Inside function */
15811585 export const localFunctionElement = "local function" ;
15821586
1583- // class X { [public|private]* foo() {} }
1587+ /** class X { [public|private]* foo() {} } */
15841588 export const memberFunctionElement = "method" ;
15851589
1586- // class X { [public|private]* [get|set] foo:number; }
1590+ /** class X { [public|private]* [get|set] foo:number; } */
15871591 export const memberGetAccessorElement = "getter" ;
15881592 export const memberSetAccessorElement = "setter" ;
15891593
1590- // class X { [public|private]* foo:number; }
1591- // interface Y { foo:number; }
1594+ /**
1595+ * class X { [public|private]* foo:number; }
1596+ * interface Y { foo:number; }
1597+ */
15921598 export const memberVariableElement = "property" ;
15931599
1594- // class X { constructor() { } }
1600+ /** class X { constructor() { } } */
15951601 export const constructorImplementationElement = "constructor" ;
15961602
1597- // interface Y { ():number; }
1603+ /** interface Y { ():number; } */
15981604 export const callSignatureElement = "call" ;
15991605
1600- // interface Y { []:number; }
1606+ /** interface Y { []:number; } */
16011607 export const indexSignatureElement = "index" ;
16021608
1603- // interface Y { new():Y; }
1609+ /** interface Y { new():Y; } */
16041610 export const constructSignatureElement = "construct" ;
16051611
1606- // function foo(*Y*: string)
1612+ /** function foo(*Y*: string) */
16071613 export const parameterElement = "parameter" ;
16081614
16091615 export const typeParameterElement = "type parameter" ;
0 commit comments