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
Parser.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x0200029E RID: 670
6 internal sealed class Parser
7 {
8 // Token: 0x06001722 RID: 5922 RVA: 0x00030DB0 File Offset: 0x0002EFB0
15
16 // Token: 0x06001723 RID: 5923 RVA: 0x00030DC8 File Offset: 0x0002EFC8
17 private void GetRequiredSizes(TokenizerStream stream, int index)
18 {
20 int indexTokens = stream.m_indexTokens;
21 short[] block = currentTokens.m_block;
25 short[] block2 = next.m_block;
26 }
27
28 // Token: 0x06001724 RID: 5924 RVA: 0x000311F0 File Offset: 0x0002F3F0
29 private int DetermineFormat(TokenizerStream stream)
30 {
32 int indexTokens = stream.m_indexTokens;
33 short[] block = currentTokens.m_block;
36 long num = 0L;
38 short[] block2 = next.m_block;
39 if (num == 0L)
40 {
44 short[] block3 = next2.m_block;
46 Tokenizer t = this._t;
47 int num2 = 2;
48 stream.GoToPosition(num2);
50 int indexTokens2 = stream.m_indexTokens;
51 short[] block4 = currentTokens2.m_block;
55 short[] block5 = next3.m_block;
58 int indexStrings = stream.m_indexStrings;
59 string[] block6 = currentStrings.m_block;
61 long num3 = 0L;
66 string[] block7 = next5.m_block;
69 int indexTokens3 = stream.m_indexTokens;
70 short[] block8 = currentTokens3.m_block;
73 long num4 = 0L;
75 short[] block9 = next6.m_block;
77 int num5;
78 return num5;
79 }
80 return 2;
81 }
82
83 // Token: 0x06001725 RID: 5925 RVA: 0x000313B8 File Offset: 0x0002F5B8
84 private void ParseContents()
85 {
86 Tokenizer t = this._t;
87 int num = 2;
88 Tokenizer t2 = this._t;
89 this._doc = -1073741824;
90 this._doc.AppendString(" ", num);
91 this._doc.AppendString(" ", num);
92 }
93
94 // Token: 0x06001726 RID: 5926 RVA: 0x000314C8 File Offset: 0x0002F6C8
95 private Parser(Tokenizer t)
96 {
97 this._t = t;
98 this.ParseContents();
99 this._t.Recycle();
100 }
101
102 // Token: 0x06001727 RID: 5927 RVA: 0x00031520 File Offset: 0x0002F720
103 internal Parser(string input)
104 {
105 int stringLength = input._stringLength;
106 }
107
108 // Token: 0x04000BB2 RID: 2994
110
111 // Token: 0x04000BB3 RID: 2995
112 private Tokenizer _t;
113 }
114}
class f__AnonymousType0<< Count > j__TPar
void AppendString(string str, int position)
void GetRequiredSizes(TokenizerStream stream, int index)
Definition Parser.cs:17
SecurityElement GetTopElement()
Definition Parser.cs:9
int DetermineFormat(TokenizerStream stream)
Definition Parser.cs:29
SecurityDocument _doc
Definition Parser.cs:109