@@ -828,7 +828,7 @@ module ts {
828828 // to reuse are already at the appropriate position in the new text. That way when we
829829 // reuse them, we don't have to figure out if they need to be adjusted. Second, it makes
830830 // it very easy to determine if we can reuse a node. If the node's position is at where
831- // we are in the text, then we can reuse it. Otherwise we can't. If hte node's position
831+ // we are in the text, then we can reuse it. Otherwise we can't. If the node's position
832832 // is ahead of us, then we'll need to rescan tokens. If the node's position is behind
833833 // us, then we'll need to skip it or crumble it as appropriate
834834 //
@@ -1033,7 +1033,7 @@ module ts {
10331033 // that some tokens that would be considered identifiers may be considered keywords.
10341034 //
10351035 // When adding more parser context flags, consider which is the more common case that the
1036- // flag will be in. This should be hte 'false' state for that flag. The reason for this is
1036+ // flag will be in. This should be the 'false' state for that flag. The reason for this is
10371037 // that we don't store data in our nodes unless the value is in the *non-default* state. So,
10381038 // for example, more often than code 'allows-in' (or doesn't 'disallow-in'). We opt for
10391039 // 'disallow-in' set to 'false'. Otherwise, if we had 'allowsIn' set to 'true', then almost
@@ -1044,7 +1044,7 @@ module ts {
10441044 //
10451045 // An important thing about these context concepts. By default they are effectively inherited
10461046 // while parsing through every grammar production. i.e. if you don't change them, then when
1047- // you parse a sub-production, it will have the same context values as hte parent production.
1047+ // you parse a sub-production, it will have the same context values as the parent production.
10481048 // This is great most of the time. After all, consider all the 'expression' grammar productions
10491049 // and how nearly all of them pass along the 'in' and 'yield' context values:
10501050 //
@@ -1836,7 +1836,7 @@ module ts {
18361836 // some node, then we cannot get a node from the old source tree. This is because we
18371837 // want to mark the next node we encounter as being unusable.
18381838 //
1839- // Note: This may be too conservative. Perhaps we could reuse hte node and set the bit
1839+ // Note: This may be too conservative. Perhaps we could reuse the node and set the bit
18401840 // on it (or its leftmost child) as having the error. For now though, being conservative
18411841 // is nice and likely won't ever affect perf.
18421842 if ( parseErrorBeforeNextFinishedNode ) {
0 commit comments