2014-09-25 22:10:04 +02:00
|
|
|
|
|
|
|
|
|
////{| "itemName": "\"Multiline\\r\\nMadness\"", "kind": "module" |}
|
|
|
|
|
////declare module "Multiline\r\nMadness" {
|
|
|
|
|
////}
|
|
|
|
|
////
|
2014-09-30 23:20:58 +02:00
|
|
|
|
////{| "itemName": "\"Multiline\\\nMadness\"", "kind": "module" |}
|
2014-09-25 22:10:04 +02:00
|
|
|
|
////declare module "Multiline\
|
|
|
|
|
////Madness" {
|
|
|
|
|
////}
|
2014-09-30 23:20:58 +02:00
|
|
|
|
////{| "itemName": "\"MultilineMadness\"", "kind": "module" |}
|
2014-09-25 22:10:04 +02:00
|
|
|
|
////declare module "MultilineMadness" {}
|
|
|
|
|
////
|
|
|
|
|
////{| "itemName": "Foo", "kind": "interface" |}
|
|
|
|
|
////interface Foo {
|
|
|
|
|
//// {| "itemName": "\"a1\\\\\\r\\nb\"", "kind": "property", "parentName": "Foo" |}
|
|
|
|
|
//// "a1\\\r\nb";
|
2014-09-30 23:20:58 +02:00
|
|
|
|
//// {| "itemName": "\"a2\\\n \\\n b\"", "kind": "method", "parentName": "Foo" |}
|
2014-09-25 22:10:04 +02:00
|
|
|
|
//// "a2\
|
|
|
|
|
//// \
|
|
|
|
|
//// b"(): Foo;
|
|
|
|
|
////}
|
|
|
|
|
////
|
|
|
|
|
////{| "itemName": "Bar", "kind": "class" |}
|
|
|
|
|
////class Bar implements Foo {
|
2014-09-30 23:20:58 +02:00
|
|
|
|
//// {| "itemName": "'a1\\\\\\r\\nb'", "kind": "property", "parentName": "Bar" |}
|
2014-09-25 22:10:04 +02:00
|
|
|
|
//// 'a1\\\r\nb': Foo;
|
|
|
|
|
////
|
2014-09-30 23:20:58 +02:00
|
|
|
|
//// {| "itemName": "'a2\\\n \\\n b'", "kind": "method", "parentName": "Bar" |}
|
2014-09-25 22:10:04 +02:00
|
|
|
|
//// 'a2\
|
|
|
|
|
//// \
|
|
|
|
|
//// b'(): Foo {
|
|
|
|
|
//// return this;
|
|
|
|
|
//// }
|
|
|
|
|
////}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test.markers().forEach((marker) => {
|
|
|
|
|
verify.getScriptLexicalStructureListContains(marker.data.itemName, marker.data.kind, marker.fileName, marker.data.parentName);
|
|
|
|
|
});
|
|
|
|
|
|
2014-09-30 23:20:58 +02:00
|
|
|
|
verify.getScriptLexicalStructureListCount(9); // interface w/ 2 properties, class w/ 2 properties, 3 modules
|