TypeScript/tests/cases/fourslash/syntacticClassificationsForOfKeyword3.ts

18 lines
411 B
TypeScript
Raw Normal View History

2015-02-20 21:15:37 +01:00
/// <reference path="fourslash.ts"/>
//// for (var of; of; of) { }
var c = classification;
verify.syntacticClassificationsAre(
c.keyword("for"),
c.punctuation("("),
c.keyword("var"),
2015-07-14 01:57:11 +02:00
c.identifier("of"),
2015-02-20 21:15:37 +01:00
c.punctuation(";"),
2015-07-14 01:57:11 +02:00
c.identifier("of"),
2015-02-20 21:15:37 +01:00
c.punctuation(";"),
2015-07-14 01:57:11 +02:00
c.identifier("of"),
2015-02-20 21:15:37 +01:00
c.punctuation(")"),
c.punctuation("{"),
c.punctuation("}")
);