Debian Codegraph @

modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/ExportedComplexStrings.cs

raw symbols SCIP
1 using Godot;
2
3 public partial class ExportedComplexStrings : Node
4 {
5 [Export]
6 private string _fieldInterpolated1 = $"The quick brown fox jumps over ({Engine.GetVersionInfo()})";
7
8 [Export]
9 private string _fieldInterpolated2 = $"The quick brown fox jumps over ({Engine.GetVersionInfo()["major"],0:G}) the lazy dog.";
10
11 [Export]
12 private string _fieldInterpolated3 = $"{((int)Engine.GetVersionInfo()["major"]) * -1 * -1:G} the lazy dog.";
13
14 [Export]
15 private string _fieldInterpolated4 = $"{":::fff,,}<,<}},,}]"}";
16
17 [Export]
18 public string PropertyInterpolated1
19 {
20 get;
21 private set;
22 } = $"The quick brown fox jumps over {GD.VarToStr($"the lazy {Engine.GetVersionInfo()} do")}g.";
23 }