2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
|
|
/////// Module
|
|
|
|
////{| "itemName": "Shapes", "kind": "module", "parentName": "" |}module Shapes {
|
|
|
|
////
|
|
|
|
//// // Class
|
|
|
|
//// {| "itemName": "Point", "kind": "class", "parentName": "Shapes" |}export class Point {
|
|
|
|
//// // Instance member
|
2014-09-16 19:54:54 +02:00
|
|
|
//// {| "itemName": "originality", "kind": "property", "parentName": "Point", "matchKind": "prefix"|}private originality = 0.0;
|
2014-07-13 01:04:16 +02:00
|
|
|
////
|
2014-09-16 19:54:54 +02:00
|
|
|
//// {| "itemName": "distanceFromOrig", "kind": "property", "parentName": "Point", "matchKind": "prefix"|}private distanceFromOrig = 0.0;
|
2014-07-13 01:04:16 +02:00
|
|
|
////
|
|
|
|
//// // Getter
|
2014-09-16 19:54:54 +02:00
|
|
|
//// {| "itemName": "distanceFarFarAway", "kind": "getter", "parentName": "Point", "matchKind": "prefix" |}get distanceFarFarAway(): number { return 0; }
|
2014-07-13 01:04:16 +02:00
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////// Local variables
|
|
|
|
////{| "itemName": "pointsSquareBox", "kind": "var", "parentName": "", "matchKind": "prefix" |}var pointsSquareBox = new Shapes.Point();
|
|
|
|
|
|
|
|
//// Testing for exact matching of navigationItems
|
|
|
|
// var searchValue = "origin distance points shape";
|
|
|
|
|
|
|
|
test.markers().forEach((marker) => {
|
|
|
|
if (marker.data) {
|
|
|
|
var itemName = marker.data.itemName;
|
|
|
|
verify.navigationItemsListContains(itemName, marker.data.kind, itemName.substr(0, itemName.length - 1), marker.data.matchKind, marker.fileName, marker.data.parentName);
|
|
|
|
}
|
|
|
|
});
|