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

◆ BeginEvent() [2/2]

bool System.Xml.Xsl.XsltOld.Processor.BeginEvent ( XPathNodeType nodeType,
string prefix,
string name,
string nspace,
bool empty,
object htmlProps,
bool search )
inlinepackage

Definition at line 558 of file Processor.cs.

559 {
560 int num = _xsm.BeginOutlook(nodeType);
561 if (_ignoreLevel > 0 || num == 16)
562 {
563 _ignoreLevel++;
564 return true;
565 }
566 switch (_builder.BeginEvent(num, nodeType, prefix, name, nspace, empty, htmlProps, search))
567 {
568 case OutputResult.Continue:
569 _xsm.Begin(nodeType);
570 return true;
571 case OutputResult.Interrupt:
572 _xsm.Begin(nodeType);
573 ExecutionResult = ExecResult.Interrupt;
574 return true;
575 case OutputResult.Overflow:
576 ExecutionResult = ExecResult.Interrupt;
577 return false;
578 case OutputResult.Error:
579 _ignoreLevel++;
580 return true;
581 case OutputResult.Ignore:
582 return true;
583 default:
584 return true;
585 }
586 }
readonly StateMachine _xsm
Definition Processor.cs:56
Processor.OutputResult BeginEvent(int state, XPathNodeType nodeType, string prefix, string name, string nspace, bool empty, object htmlProps, bool search)
int BeginOutlook(XPathNodeType nodeType)
int Begin(XPathNodeType nodeType)

References System.Xml.Xsl.XsltOld.Processor._builder, System.Xml.Xsl.XsltOld.Processor._ignoreLevel, System.Xml.Xsl.XsltOld.Processor._xsm, System.Xml.Xsl.XsltOld.StateMachine.Begin(), System.Xml.Xsl.XsltOld.RecordBuilder.BeginEvent(), System.Xml.Xsl.XsltOld.StateMachine.BeginOutlook(), System.Xml.Xsl.XsltOld.Processor.ExecutionResult, and System.prefix.