Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DocumentScope.cs
Go to the documentation of this file.
2
3internal class DocumentScope
4{
6
8
9 internal NamespaceDecl AddNamespace(string prefix, string uri, string prevDefaultNsUri)
10 {
12 return scopes;
13 }
14
15 internal string ResolveAtom(string prefix)
16 {
17 for (NamespaceDecl next = scopes; next != null; next = next.Next)
18 {
19 if (Ref.Equal(next.Prefix, prefix))
20 {
21 return next.Uri;
22 }
23 }
24 return null;
25 }
26
27 internal string ResolveNonAtom(string prefix)
28 {
29 for (NamespaceDecl next = scopes; next != null; next = next.Next)
30 {
31 if (next.Prefix == prefix)
32 {
33 return next.Uri;
34 }
35 }
36 return null;
37 }
38}
static bool Equal(string strA, string strB)
Definition Ref.cs:5
string ResolveNonAtom(string prefix)
NamespaceDecl AddNamespace(string prefix, string uri, string prevDefaultNsUri)