nl_tokens: Returns true if node is a element in some list in parent i . e . parent is class declaration with the list of members and node is one of members .
pl_tokens: function isListElement ( parent , node ) { switch ( parent . kind ) { case 214 /* ClassDeclaration */ : case 215 /* InterfaceDeclaration */ : return ts . rangeContainsRange ( parent . members , node ) ; case 218 /* ModuleDeclaration */ : var body = parent . body ; return body && body . kind === 192 /* Block */ && ts . rangeContainsRange ( <mask> . statements , node ) ; case 248 /* SourceFile */ : case 192 /* Block */ : case 219 /* ModuleBlock */ : return ts . rangeContainsRange ( parent . statements , node ) ; case 244 /* CatchClause */ : return ts . rangeContainsRange ( parent . block . statements , node ) ; } return false ; }