Merge remote-tracking branch 'origin/master' into reuseProgramStructure

This commit is contained in:
Vladimir Matveev committed 2015-06-23 11:59:55 -07:00
commit 7a7d775f81
2 files changed
+18

No files matched your search

+4
View File
@@ -6304,6 +6304,10 @@ namespace ts {
}
function classifyToken(token: Node): void {
if (nodeIsMissing(token)) {
return;
}
let tokenStart = classifyLeadingTriviaAndGetTokenStart(token);
let tokenWidth = token.end - tokenStart;
@@ -0,0 +1,14 @@
/// <reference path='fourslash.ts'/>
////class A {
//// a:
////}
////c =
let c = classification
verify.syntacticClassificationsAre(
c.keyword("class"), c.className("A"), c.punctuation("{"),
c.text("a"), c.punctuation(":"),
c.punctuation("}"),
c.text("c"), c.operator("=")
);