terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ParseArrayIndexer()

PathFilter Newtonsoft.Json.Linq.JsonPath.JPath.ParseArrayIndexer ( char indexerCloseChar)
inlineprivate

Definition at line 79 of file JPath.cs.

80 {
81 int currentIndex = this._currentIndex;
82 string expression = this._expression;
83 int stringLength = expression._stringLength;
84 long num = 0L;
85 long num2 = 0L;
86 char c = expression[currentIndex];
88 this.EatWhitespace();
90 if (stringLength == 0)
91 {
92 }
93 long num3 = 0L;
94 if (stringLength == 0)
95 {
98 int stringLength2 = this._expression._stringLength;
99 if (stringLength2 == 0 || stringLength2 != 0)
100 {
101 int currentIndex5 = this._currentIndex;
102 string text = this._expression.Substring(currentIndex, 42240400);
105 if (num2 == 0L)
106 {
107 goto IL_00CE;
108 }
109 }
110 int currentIndex6 = this._currentIndex;
111 if (num == 0L)
112 {
113 }
114 string expression2 = this._expression;
116 string text2;
118 int currentIndex7 = this._currentIndex;
119 IL_00CE:
120 int currentIndex8 = this._currentIndex;
122 this.EatWhitespace();
123 int currentIndex9 = this._currentIndex;
124 int stringLength3 = this._expression._stringLength;
125 long num6 = 0L;
126 if (stringLength3 != 0)
127 {
128 }
129 if (num6 == 0L)
130 {
131 goto IL_0160;
132 }
134 string text3;
136 int stringLength4 = text3._stringLength;
138 string text4;
140 if (!false)
141 {
142 goto IL_0160;
143 }
145 string text5;
147 }
148 string text7;
149 string text6 = "Unexpected character while parsing path indexer: " + text7;
150 IL_0160:
151 return "Array index expected.";
152 }
class f__AnonymousType0<< Count > j__TPar
static int ToInt32(object value)
Definition Convert.cs:1412
static CultureInfo InvariantCulture

References Newtonsoft.Json.Linq.JsonPath.JPath._currentIndex, Newtonsoft.Json.Linq.JsonPath.JPath._expression, Newtonsoft.Json.Linq.JsonPath.JPath.EatWhitespace(), System.Globalization.CultureInfo.InvariantCulture, j__TPar, System.L, System.text, and System.Convert.ToInt32().