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

◆ CompileAttribute()

override bool System.Xml.Xsl.XsltOld.ElementAction.CompileAttribute ( Compiler compiler)
inlinepackagevirtual

Reimplemented from System.Xml.Xsl.XsltOld.CompiledAction.

Definition at line 69 of file ElementAction.cs.

70 {
71 string localName = compiler.Input.LocalName;
72 string value = compiler.Input.Value;
73 if (Ref.Equal(localName, compiler.Atoms.Name))
74 {
76 }
77 else if (Ref.Equal(localName, compiler.Atoms.Namespace))
78 {
80 }
81 else
82 {
83 if (!Ref.Equal(localName, compiler.Atoms.UseAttributeSets))
84 {
85 return false;
86 }
87 AddAction(compiler.CreateUseAttributeSetsAction());
88 }
89 return true;
90 }
static Avt CompileAvt(Compiler compiler, string avtText)
Definition Avt.cs:52

References System.Xml.Xsl.XsltOld.ElementAction._nameAvt, System.Xml.Xsl.XsltOld.ElementAction._nsAvt, System.Xml.Xsl.XsltOld.ContainerAction.AddAction(), System.Xml.Xsl.XsltOld.Avt.CompileAvt(), System.Xml.Dictionary, System.Xml.Ref.Equal(), and System.value.