18 types derived from BamlTreeNode
PresentationFramework (18)
MS\Internal\Globalization\BamlTreeNode.cs (18)
375
internal sealed class BamlStartDocumentNode :
BamlTreeNode
, ILocalizabilityInheritable
417
internal sealed class BamlEndDocumentNode :
BamlTreeNode
434
internal sealed class BamlConnectionIdNode :
BamlTreeNode
457
internal sealed class BamlStartElementNode :
BamlTreeNode
, ILocalizabilityInheritable
595
internal sealed class BamlEndElementNode :
BamlTreeNode
616
internal sealed class BamlXmlnsPropertyNode :
BamlTreeNode
644
internal class BamlStartComplexPropertyNode :
BamlTreeNode
, ILocalizabilityInheritable
724
internal sealed class BamlEndComplexPropertyNode :
BamlTreeNode
807
internal sealed class BamlLiteralContentNode :
BamlTreeNode
836
internal sealed class BamlTextNode :
BamlTreeNode
876
internal sealed class BamlRoutedEventNode :
BamlTreeNode
920
internal sealed class BamlEventNode :
BamlTreeNode
952
internal sealed class BamlDefAttributeNode :
BamlTreeNode
977
internal sealed class BamlPIMappingNode :
BamlTreeNode
1016
internal sealed class BamlStartConstructorNode :
BamlTreeNode
1036
internal sealed class BamlEndConstructorNode :
BamlTreeNode
1056
internal sealed class BamlContentPropertyNode :
BamlTreeNode
1092
internal sealed class BamlPresentationOptionsAttributeNode :
BamlTreeNode
108 references to BamlTreeNode
PresentationFramework (108)
MS\Internal\Globalization\BamlResourceDeserializer.cs (23)
77
BamlTreeNode
bamlNode = new BamlStartElementNode(
88
BamlTreeNode
bamlNode = new BamlEndElementNode();
108
BamlTreeNode
bamlNode = new BamlEndComplexPropertyNode();
115
BamlTreeNode
bamlNode = new BamlEventNode(_reader.Name, _reader.Value);
121
BamlTreeNode
bamlNode = new BamlRoutedEventNode(
132
BamlTreeNode
bamlNode = new BamlPIMappingNode(
142
BamlTreeNode
bamlNode = new BamlLiteralContentNode(_reader.Value);
148
BamlTreeNode
bamlNode = new BamlTextNode(
159
BamlTreeNode
bamlNode = new BamlStartConstructorNode();
165
BamlTreeNode
bamlNode = new BamlEndConstructorNode();
171
BamlTreeNode
bamlNode = new BamlEndDocumentNode();
198
BamlTreeNode
bamlNode = new BamlConnectionIdNode(_reader.ConnectionId);
255
BamlTreeNode
bamlNode = new BamlDefAttributeNode(
264
BamlTreeNode
bamlNode = new BamlXmlnsPropertyNode(
273
BamlTreeNode
bamlNode = new BamlContentPropertyNode(
284
BamlTreeNode
bamlNode = new BamlPresentationOptionsAttributeNode(
310
private void PushNodeToStack(
BamlTreeNode
node)
320
private void AddChildToCurrentParent(
BamlTreeNode
node)
333
BamlTreeNode
node = _bamlTreeStack.Pop();
337
foreach (
BamlTreeNode
child in node.Children)
403
private Stack<
BamlTreeNode
> _bamlTreeStack = new Stack<
BamlTreeNode
>();
409
private
BamlTreeNode
_currentParent;
MS\Internal\Globalization\BamlResourceSerializer.cs (4)
64
_bamlTreeStack = new Stack<
BamlTreeNode
>();
71
BamlTreeNode
currentNode = _bamlTreeStack.Pop();
99
private void PushChildrenToStack(List<
BamlTreeNode
> children)
114
private Stack<
BamlTreeNode
> _bamlTreeStack;
MS\Internal\Globalization\BamlTreeMap.cs (6)
86
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key, BamlTree tree)
127
BamlTreeNode
currentNode = _tree[i];
160
foreach (
BamlTreeNode
child in currentNode.Children)
210
internal static BamlLocalizableResourceKey GetKey(
BamlTreeNode
node)
621
BamlTreeNode
child = (
BamlTreeNode
)node.Children[i];
MS\Internal\Globalization\BamlTreeNode.cs (43)
41
internal BamlTree(
BamlTreeNode
root, int size)
47
_nodeList = new List<
BamlTreeNode
>(size);
51
internal
BamlTreeNode
Root
62
internal
BamlTreeNode
this[int i]
74
BamlTreeNode
newTreeRoot = _root;
75
List<
BamlTreeNode
> newNodeList = new List<
BamlTreeNode
>(Size);
88
internal void AddTreeNode(
BamlTreeNode
node)
95
private void CreateInternalIndex(ref
BamlTreeNode
parent, ref List<
BamlTreeNode
> nodeList, bool toCopy)
98
List<
BamlTreeNode
> children = parent.Children;
107
parent.Children = new List<
BamlTreeNode
>(children.Count);
122
BamlTreeNode
child = children[i];
136
private
BamlTreeNode
_root; // the root of the tree
137
private List<
BamlTreeNode
> _nodeList; // stores flattened baml tree in depth first order
191
internal void AddChild(
BamlTreeNode
child)
195
_children = new List<
BamlTreeNode
>();
205
internal abstract
BamlTreeNode
Copy();
235
internal List<
BamlTreeNode
> Children
252
internal
BamlTreeNode
Parent
338
protected List<
BamlTreeNode
> _children; // the children list.
339
protected
BamlTreeNode
_parent; // the tree parent of this node
383
internal override
BamlTreeNode
Copy()
425
internal override
BamlTreeNode
Copy()
446
internal override
BamlTreeNode
Copy()
477
internal override
BamlTreeNode
Copy()
494
internal void InsertProperty(
BamlTreeNode
child)
550
for (
BamlTreeNode
parentNode = Parent;
606
internal override
BamlTreeNode
Copy()
632
internal override
BamlTreeNode
Copy()
666
internal override
BamlTreeNode
Copy()
735
internal override
BamlTreeNode
Copy()
775
internal override
BamlTreeNode
Copy()
819
internal override
BamlTreeNode
Copy()
858
internal override
BamlTreeNode
Copy()
901
internal override
BamlTreeNode
Copy()
939
internal override
BamlTreeNode
Copy()
965
internal override
BamlTreeNode
Copy()
999
internal override
BamlTreeNode
Copy()
1027
internal override
BamlTreeNode
Copy()
1047
internal override
BamlTreeNode
Copy()
1078
internal override
BamlTreeNode
Copy()
1106
internal override
BamlTreeNode
Copy()
MS\Internal\Globalization\BamlTreeUpdater.cs (27)
95
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
134
BamlTreeNode
newNode;
182
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
198
BamlTreeNode
parent = treeMap.MapUidToBamlTreeElementNode(key.Uid);
260
BamlTreeNode
node,
268
IList<
BamlTreeNode
> nodes = SplitXmlContent(
281
BamlTreeNode
parent,
282
IList<
BamlTreeNode
> newChildren
287
List<
BamlTreeNode
> oldChildren = parent.Children;
294
foreach (
BamlTreeNode
node in newChildren)
325
BamlTreeNode
child = oldChildren[i];
356
BamlTreeNode
newNode = newChildren[nodeIndex++];
393
BamlTreeNode
newNode = newChildren[nodeIndex];
413
private static void TryFlushTextToBamlNode(
BamlTreeNode
parent, StringBuilder textContent)
417
BamlTreeNode
textNode = new BamlTextNode(textContent.ToString());
423
private static IList<
BamlTreeNode
> SplitXmlContent(
435
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>(4);
483
IList<
BamlTreeNode
> newChildrenList // list of new children
592
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>();
621
IList<
BamlTreeNode
> newChildrenList // list of new children
644
BamlTreeNode
node = new BamlTextNode(tokens[i].Value);
650
BamlTreeNode
node = bamlTreeMap.MapUidToBamlTreeElementNode(tokens[i].Value);
726
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key)
728
BamlTreeNode
node = _originalMap.MapKeyToBamlTreeNode(key, _tree);
764
BamlTreeNode
node
MS\Internal\Globalization\LocalizableResourceBuilder.cs (5)
31
internal BamlLocalizableResource BuildFromNode(BamlLocalizableResourceKey key,
BamlTreeNode
node)
139
internal bool TryGetContent(BamlLocalizableResourceKey key,
BamlTreeNode
currentNode, out string content)
183
foreach (
BamlTreeNode
child in elementNode.Children)
464
BamlTreeNode
treeNode = (
BamlTreeNode
)node;