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

◆ getTextLex()

static void System.Xml.Xsl.XsltOld.Compiler.getTextLex ( string avt,
ref int start,
StringBuilder lex )
inlinestaticprivate

Definition at line 648 of file Compiler.cs.

649 {
650 int length = avt.Length;
651 int i;
652 char c;
653 for (i = start; i < length; lex.Append(c), i++)
654 {
655 c = avt[i];
656 switch (c)
657 {
658 case '{':
659 if (i + 1 < length && avt[i + 1] == '{')
660 {
661 i++;
662 continue;
663 }
664 break;
665 case '}':
666 if (i + 1 < length && avt[i + 1] == '}')
667 {
668 i++;
669 continue;
670 }
671 throw XsltException.Create(System.SR.Xslt_SingleRightAvt, avt);
672 default:
673 continue;
674 }
675 break;
676 }
677 start = i;
678 }
static string Xslt_SingleRightAvt
Definition SR.cs:2080
Definition SR.cs:7

References System.Xml.Xsl.XsltException.Create(), System.length, System.start, and System.SR.Xslt_SingleRightAvt.