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

◆ RegexFCFromRegexTree()

RegexFC System.Text.RegularExpressions.RegexFCD.RegexFCFromRegexTree ( RegexTree tree)
inlineprivate

Definition at line 162 of file RegexFCD.cs.

163 {
164 RegexNode root;
165 long num;
166 do
167 {
168 root = tree.Root;
169 num = 0L;
170 List<RegexNode> children = root.Children;
171 if (children == null)
172 {
173 break;
174 }
175 int size = children._size;
176 if (this._skipAllChildren)
177 {
178 goto IL_0050;
179 }
180 int ntype = root.NType;
181 if (!this._skipchild)
182 {
183 goto IL_007C;
184 }
185 }
186 while (root.Children != null);
187 int ntype2 = root.NType;
188 long num2 = 0L;
189 this.CalculateFC(ntype2, root, (int)num2);
190 IL_0050:
191 RegexNode next = root.Next;
192 global::System.Collections.Generic.ValueListBuilder<int> intStack = this._intStack;
193 int ntype3 = next.NType;
194 this.CalculateFC(ntype2, next, (int)num);
195 if (!this._failed)
196 {
197 }
198 IL_007C:
199 List<RegexNode> children2 = next.Children;
200 this.PushInt((int)num);
201 return this.PopFC();
202 }
class f__AnonymousType0<< Count > j__TPar
global::System.Collections.Generic.ValueListBuilder< int > _intStack
Definition RegexFCD.cs:219
void CalculateFC(int NodeType, RegexNode node, int CurIndex)
Definition RegexFCD.cs:211

References System.Text.RegularExpressions.RegexFCD._failed, System.Text.RegularExpressions.RegexFCD._intStack, System.Collections.Generic.List< T >._size, System.Text.RegularExpressions.RegexFCD._skipAllChildren, System.Text.RegularExpressions.RegexFCD._skipchild, System.Text.RegularExpressions.RegexFCD.CalculateFC(), System.Text.RegularExpressions.RegexNode.Children, j__TPar, System.L, System.Text.RegularExpressions.RegexNode.Next, System.Text.RegularExpressions.RegexNode.NType, System.Text.RegularExpressions.RegexFCD.PopFC(), System.Text.RegularExpressions.RegexFCD.PushInt(), and System.Text.RegularExpressions.RegexTree.Root.