18 types derived from BamlTreeNode
PresentationFramework (18)
MS\Internal\Globalization\BamlTreeNode.cs (18)
371
internal sealed class BamlStartDocumentNode :
BamlTreeNode
, ILocalizabilityInheritable
413
internal sealed class BamlEndDocumentNode :
BamlTreeNode
430
internal sealed class BamlConnectionIdNode :
BamlTreeNode
453
internal sealed class BamlStartElementNode :
BamlTreeNode
, ILocalizabilityInheritable
591
internal sealed class BamlEndElementNode :
BamlTreeNode
612
internal sealed class BamlXmlnsPropertyNode :
BamlTreeNode
640
internal class BamlStartComplexPropertyNode :
BamlTreeNode
, ILocalizabilityInheritable
720
internal sealed class BamlEndComplexPropertyNode :
BamlTreeNode
803
internal sealed class BamlLiteralContentNode :
BamlTreeNode
832
internal sealed class BamlTextNode :
BamlTreeNode
872
internal sealed class BamlRoutedEventNode :
BamlTreeNode
916
internal sealed class BamlEventNode :
BamlTreeNode
948
internal sealed class BamlDefAttributeNode :
BamlTreeNode
973
internal sealed class BamlPIMappingNode :
BamlTreeNode
1012
internal sealed class BamlStartConstructorNode :
BamlTreeNode
1032
internal sealed class BamlEndConstructorNode :
BamlTreeNode
1052
internal sealed class BamlContentPropertyNode :
BamlTreeNode
1088
internal sealed class BamlPresentationOptionsAttributeNode :
BamlTreeNode
108 references to BamlTreeNode
PresentationFramework (108)
MS\Internal\Globalization\BamlResourceDeserializer.cs (23)
70
BamlTreeNode
bamlNode = new BamlStartElementNode(
81
BamlTreeNode
bamlNode = new BamlEndElementNode();
101
BamlTreeNode
bamlNode = new BamlEndComplexPropertyNode();
108
BamlTreeNode
bamlNode = new BamlEventNode(_reader.Name, _reader.Value);
114
BamlTreeNode
bamlNode = new BamlRoutedEventNode(
125
BamlTreeNode
bamlNode = new BamlPIMappingNode(
135
BamlTreeNode
bamlNode = new BamlLiteralContentNode(_reader.Value);
141
BamlTreeNode
bamlNode = new BamlTextNode(
152
BamlTreeNode
bamlNode = new BamlStartConstructorNode();
158
BamlTreeNode
bamlNode = new BamlEndConstructorNode();
164
BamlTreeNode
bamlNode = new BamlEndDocumentNode();
191
BamlTreeNode
bamlNode = new BamlConnectionIdNode(_reader.ConnectionId);
248
BamlTreeNode
bamlNode = new BamlDefAttributeNode(
257
BamlTreeNode
bamlNode = new BamlXmlnsPropertyNode(
266
BamlTreeNode
bamlNode = new BamlContentPropertyNode(
277
BamlTreeNode
bamlNode = new BamlPresentationOptionsAttributeNode(
303
private void PushNodeToStack(
BamlTreeNode
node)
313
private void AddChildToCurrentParent(
BamlTreeNode
node)
326
BamlTreeNode
node = _bamlTreeStack.Pop();
330
foreach (
BamlTreeNode
child in node.Children)
396
private Stack<
BamlTreeNode
> _bamlTreeStack = new Stack<
BamlTreeNode
>();
402
private
BamlTreeNode
_currentParent;
MS\Internal\Globalization\BamlResourceSerializer.cs (4)
56
_bamlTreeStack = new Stack<
BamlTreeNode
>();
63
BamlTreeNode
currentNode = _bamlTreeStack.Pop();
91
private void PushChildrenToStack(List<
BamlTreeNode
> children)
106
private Stack<
BamlTreeNode
> _bamlTreeStack;
MS\Internal\Globalization\BamlTreeMap.cs (6)
81
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key, BamlTree tree)
122
BamlTreeNode
currentNode = _tree[i];
155
foreach (
BamlTreeNode
child in currentNode.Children)
205
internal static BamlLocalizableResourceKey GetKey(
BamlTreeNode
node)
616
BamlTreeNode
child = (
BamlTreeNode
)node.Children[i];
MS\Internal\Globalization\BamlTreeNode.cs (43)
37
internal BamlTree(
BamlTreeNode
root, int size)
43
_nodeList = new List<
BamlTreeNode
>(size);
47
internal
BamlTreeNode
Root
58
internal
BamlTreeNode
this[int i]
70
BamlTreeNode
newTreeRoot = _root;
71
List<
BamlTreeNode
> newNodeList = new List<
BamlTreeNode
>(Size);
84
internal void AddTreeNode(
BamlTreeNode
node)
91
private void CreateInternalIndex(ref
BamlTreeNode
parent, ref List<
BamlTreeNode
> nodeList, bool toCopy)
94
List<
BamlTreeNode
> children = parent.Children;
103
parent.Children = new List<
BamlTreeNode
>(children.Count);
118
BamlTreeNode
child = children[i];
132
private
BamlTreeNode
_root; // the root of the tree
133
private List<
BamlTreeNode
> _nodeList; // stores flattened baml tree in depth first order
187
internal void AddChild(
BamlTreeNode
child)
191
_children = new List<
BamlTreeNode
>();
201
internal abstract
BamlTreeNode
Copy();
231
internal List<
BamlTreeNode
> Children
248
internal
BamlTreeNode
Parent
334
protected List<
BamlTreeNode
> _children; // the children list.
335
protected
BamlTreeNode
_parent; // the tree parent of this node
379
internal override
BamlTreeNode
Copy()
421
internal override
BamlTreeNode
Copy()
442
internal override
BamlTreeNode
Copy()
473
internal override
BamlTreeNode
Copy()
490
internal void InsertProperty(
BamlTreeNode
child)
546
for (
BamlTreeNode
parentNode = Parent;
602
internal override
BamlTreeNode
Copy()
628
internal override
BamlTreeNode
Copy()
662
internal override
BamlTreeNode
Copy()
731
internal override
BamlTreeNode
Copy()
771
internal override
BamlTreeNode
Copy()
815
internal override
BamlTreeNode
Copy()
854
internal override
BamlTreeNode
Copy()
897
internal override
BamlTreeNode
Copy()
935
internal override
BamlTreeNode
Copy()
961
internal override
BamlTreeNode
Copy()
995
internal override
BamlTreeNode
Copy()
1023
internal override
BamlTreeNode
Copy()
1043
internal override
BamlTreeNode
Copy()
1074
internal override
BamlTreeNode
Copy()
1102
internal override
BamlTreeNode
Copy()
MS\Internal\Globalization\BamlTreeUpdater.cs (27)
87
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
126
BamlTreeNode
newNode;
174
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
190
BamlTreeNode
parent = treeMap.MapUidToBamlTreeElementNode(key.Uid);
252
BamlTreeNode
node,
260
IList<
BamlTreeNode
> nodes = SplitXmlContent(
273
BamlTreeNode
parent,
274
IList<
BamlTreeNode
> newChildren
279
List<
BamlTreeNode
> oldChildren = parent.Children;
286
foreach (
BamlTreeNode
node in newChildren)
317
BamlTreeNode
child = oldChildren[i];
348
BamlTreeNode
newNode = newChildren[nodeIndex++];
385
BamlTreeNode
newNode = newChildren[nodeIndex];
405
private static void TryFlushTextToBamlNode(
BamlTreeNode
parent, StringBuilder textContent)
409
BamlTreeNode
textNode = new BamlTextNode(textContent.ToString());
415
private static IList<
BamlTreeNode
> SplitXmlContent(
427
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>(4);
475
IList<
BamlTreeNode
> newChildrenList // list of new children
584
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>();
613
IList<
BamlTreeNode
> newChildrenList // list of new children
636
BamlTreeNode
node = new BamlTextNode(tokens[i].Value);
642
BamlTreeNode
node = bamlTreeMap.MapUidToBamlTreeElementNode(tokens[i].Value);
718
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key)
720
BamlTreeNode
node = _originalMap.MapKeyToBamlTreeNode(key, _tree);
756
BamlTreeNode
node
MS\Internal\Globalization\LocalizableResourceBuilder.cs (5)
27
internal BamlLocalizableResource BuildFromNode(BamlLocalizableResourceKey key,
BamlTreeNode
node)
135
internal bool TryGetContent(BamlLocalizableResourceKey key,
BamlTreeNode
currentNode, out string content)
179
foreach (
BamlTreeNode
child in elementNode.Children)
460
BamlTreeNode
treeNode = (
BamlTreeNode
)node;