internal void ScanInterpolatedStringLiteralTop(ArrayBuilder <Interpolation> interpolations, bool isVerbatim, ref TokenInfo info, ref SyntaxDiagnosticInfo error, out bool closeQuoteMissing) { var subScanner = new InterpolatedStringScanner(this, isVerbatim); subScanner.ScanInterpolatedStringLiteralTop(interpolations, ref info, out closeQuoteMissing); error = subScanner.error; info.Text = TextWindow.GetText(false); }
internal void ScanInterpolatedStringLiteralTop( ref TokenInfo info, out SyntaxDiagnosticInfo?error, out InterpolatedStringKind kind, out Range openQuoteRange, ArrayBuilder <Interpolation>?interpolations, out Range closeQuoteRange) { var subScanner = new InterpolatedStringScanner(this); subScanner.ScanInterpolatedStringLiteralTop(out kind, out openQuoteRange, interpolations, out closeQuoteRange); error = subScanner.Error; info.Kind = SyntaxKind.InterpolatedStringToken; info.Text = TextWindow.GetText(intern: false); }
internal void ScanInterpolatedStringLiteralTop(ArrayBuilder<Interpolation> interpolations, bool isVerbatim, ref TokenInfo info, ref SyntaxDiagnosticInfo error, out bool closeQuoteMissing) { var subScanner = new InterpolatedStringScanner(this, isVerbatim); subScanner.ScanInterpolatedStringLiteralTop(interpolations, ref info, out closeQuoteMissing); error = subScanner.error; info.Text = TextWindow.GetText(false); }