nl_tokens: Tokens :
pl_tokens: function spanInOpenBraceToken ( node ) { switch ( <mask> . parent . kind ) { case 217 /* EnumDeclaration */ : var enumDeclaration = node . parent ; return spanInNodeIfStartsOnSameLine ( ts . findPrecedingToken ( node . pos , sourceFile , node . parent ) , enumDeclaration . members . length ? enumDeclaration . members [ 0 ] : enumDeclaration . getLastToken ( sourceFile ) ) ; case 214 /* ClassDeclaration */ : var classDeclaration = node . parent ; return spanInNodeIfStartsOnSameLine ( ts . findPrecedingToken ( node . pos , sourceFile , node . parent ) , classDeclaration . members . length ? classDeclaration . members [ 0 ] : classDeclaration . getLastToken ( sourceFile ) ) ; case 220 /* CaseBlock */ : return spanInNodeIfStartsOnSameLine ( node . parent . parent , node . parent . clauses [ 0 ] ) ; } // Default to parent node return spanInNode ( node . parent ) ; }