Added comment for 'syntacticClassifierAbsent'.

This commit is contained in:
Daniel Rosenwasser 2015-01-26 16:06:56 -08:00
parent 1838800b6c
commit 15b333e102

View file

@ -5658,6 +5658,8 @@ module ts {
return true;
}
// If there is a syntactic classifier ('syntacticClassifierAbsent' is false),
// we will be more conservative in order to avoid conflicting with the syntactic classifier.
function getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult {
var offset = 0;
var token = SyntaxKind.Unknown;