Eli Barzilay 5c8def9a06 Fix emitting ?.
Use `emit()` for writing `questionDotToken`, leading to properly calling
the emit hooks (which `emitTokenWithComment` doesn't) and printing the
comments.  This fixes #35372 by calling its hooks to set the `.__pos`
and `.__end` fields.

Also, remove `getDotOrQuestionDotToken` which was used only here --
mainly because it seems likely to encourage misusing the
`questionDotToken` again.

Also, fix a bunch of `visitor` -> `tokenVisiton` calls in
`visitorPublic.ts`.
2020-03-04 14:52:33 -05:00
..
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-08-30 18:05:07 +08:00
2020-01-07 13:07:52 -08:00
2020-03-04 14:52:33 -05:00
2020-03-04 14:52:33 -05:00
2018-12-31 15:15:47 -08:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-05-06 21:21:37 +02:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-05-23 13:33:38 -07:00
2019-06-09 10:11:36 -07:00
2019-06-09 10:11:36 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00
2019-06-13 12:41:21 -07:00