Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GenerateForwardSection()

void System.Text.RegularExpressions.RegexCompiler.GenerateForwardSection ( )
inlineprivateinherited

Definition at line 952 of file RegexCompiler.cs.

953 {
954 _uniquenote = new int[10];
955 _labels = new Label[_codes.Length];
956 _goto = new int[_codes.Length];
957 Array.Fill(_uniquenote, -1);
958 for (int i = 0; i < _codes.Length; i += RegexCode.OpcodeSize(_codes[i]))
959 {
960 _goto[i] = -1;
961 _labels[i] = DefineLabel();
962 }
971 _backpos = -1;
972 for (int j = 0; j < _codes.Length; j += RegexCode.OpcodeSize(_codes[j]))
973 {
975 _codepos = j;
978 }
979 }
static readonly FieldInfo s_runtextendField
static readonly FieldInfo s_runtrackposField
static readonly FieldInfo s_runstackposField
static readonly FieldInfo s_runtextbegField
static readonly FieldInfo s_runtextposField
void Mvfldloc(FieldInfo ft, LocalBuilder lt)

References System.Text.RegularExpressions.RegexCompiler._backpos, System.Text.RegularExpressions.RegexCompiler._codepos, System.Text.RegularExpressions.RegexCompiler._codes, System.Text.RegularExpressions.RegexCompiler._goto, System.Text.RegularExpressions.RegexCompiler._labels, System.Text.RegularExpressions.RegexCompiler._regexopcode, System.Text.RegularExpressions.RegexCompiler._runstackLocal, System.Text.RegularExpressions.RegexCompiler._runstackposLocal, System.Text.RegularExpressions.RegexCompiler._runtextbegLocal, System.Text.RegularExpressions.RegexCompiler._runtextendLocal, System.Text.RegularExpressions.RegexCompiler._runtextLocal, System.Text.RegularExpressions.RegexCompiler._runtextposLocal, System.Text.RegularExpressions.RegexCompiler._runtrackLocal, System.Text.RegularExpressions.RegexCompiler._runtrackposLocal, System.Text.RegularExpressions.RegexCompiler._uniquenote, System.Text.RegularExpressions.RegexCompiler.DefineLabel(), System.Text.RegularExpressions.RegexCompiler.GenerateOneCode(), System.Text.RegularExpressions.i, System.Text.RegularExpressions.RegexCompiler.MarkLabel(), System.Text.RegularExpressions.RegexCompiler.Mvfldloc(), System.Text.RegularExpressions.RegexCode.OpcodeSize(), System.Text.RegularExpressions.RegexCompiler.s_runstackField, System.Text.RegularExpressions.RegexCompiler.s_runstackposField, System.Text.RegularExpressions.RegexCompiler.s_runtextbegField, System.Text.RegularExpressions.RegexCompiler.s_runtextendField, System.Text.RegularExpressions.RegexCompiler.s_runtextField, System.Text.RegularExpressions.RegexCompiler.s_runtextposField, System.Text.RegularExpressions.RegexCompiler.s_runtrackField, and System.Text.RegularExpressions.RegexCompiler.s_runtrackposField.

Referenced by System.Text.RegularExpressions.RegexCompiler.GenerateGo().