TypeScript/tests/cases/fourslash/scriptLexicalStructureMissingName1.ts

17 lines
461 B
TypeScript
Raw Normal View History

2014-12-04 00:05:38 +01:00
////export function
/////**
//// * This is a class.
//// */
////{| "itemName": "C", "kind": "class" |} class C {
//// {| "itemName": "foo", "kind": "method" |} foo() {
//// }
////}
test.markers().forEach((marker) => {
verify.getScriptLexicalStructureListContains(marker.data.itemName, marker.data.kind, marker.fileName, marker.data.parentName);
});
/// Only have two named elements.
verify.getScriptLexicalStructureListCount(2);