18 types derived from BamlTreeNode
PresentationFramework (18)
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (18)
379
internal sealed class BamlStartDocumentNode :
BamlTreeNode
, ILocalizabilityInheritable
421
internal sealed class BamlEndDocumentNode :
BamlTreeNode
438
internal sealed class BamlConnectionIdNode :
BamlTreeNode
461
internal sealed class BamlStartElementNode :
BamlTreeNode
, ILocalizabilityInheritable
600
internal sealed class BamlEndElementNode :
BamlTreeNode
621
internal sealed class BamlXmlnsPropertyNode :
BamlTreeNode
649
internal class BamlStartComplexPropertyNode :
BamlTreeNode
, ILocalizabilityInheritable
729
internal sealed class BamlEndComplexPropertyNode :
BamlTreeNode
812
internal sealed class BamlLiteralContentNode :
BamlTreeNode
841
internal sealed class BamlTextNode :
BamlTreeNode
881
internal sealed class BamlRoutedEventNode :
BamlTreeNode
925
internal sealed class BamlEventNode :
BamlTreeNode
957
internal sealed class BamlDefAttributeNode :
BamlTreeNode
982
internal sealed class BamlPIMappingNode :
BamlTreeNode
1021
internal sealed class BamlStartConstructorNode :
BamlTreeNode
1041
internal sealed class BamlEndConstructorNode :
BamlTreeNode
1061
internal sealed class BamlContentPropertyNode :
BamlTreeNode
1097
internal sealed class BamlPresentationOptionsAttributeNode :
BamlTreeNode
108 references to BamlTreeNode
PresentationFramework (108)
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (23)
78
BamlTreeNode
bamlNode = new BamlStartElementNode(
89
BamlTreeNode
bamlNode = new BamlEndElementNode();
109
BamlTreeNode
bamlNode = new BamlEndComplexPropertyNode();
116
BamlTreeNode
bamlNode = new BamlEventNode(_reader.Name, _reader.Value);
122
BamlTreeNode
bamlNode = new BamlRoutedEventNode(
133
BamlTreeNode
bamlNode = new BamlPIMappingNode(
143
BamlTreeNode
bamlNode = new BamlLiteralContentNode(_reader.Value);
149
BamlTreeNode
bamlNode = new BamlTextNode(
160
BamlTreeNode
bamlNode = new BamlStartConstructorNode();
166
BamlTreeNode
bamlNode = new BamlEndConstructorNode();
172
BamlTreeNode
bamlNode = new BamlEndDocumentNode();
199
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;
src\Framework\MS\Internal\Globalization\BamlResourceSerializer.cs (4)
66
_bamlTreeStack = new Stack<
BamlTreeNode
>();
73
BamlTreeNode
currentNode = _bamlTreeStack.Pop();
101
private void PushChildrenToStack(List<
BamlTreeNode
> children)
116
private Stack<
BamlTreeNode
> _bamlTreeStack;
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (6)
88
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key, BamlTree tree)
129
BamlTreeNode
currentNode = _tree[i];
162
foreach (
BamlTreeNode
child in currentNode.Children)
212
internal static BamlLocalizableResourceKey GetKey(
BamlTreeNode
node)
626
BamlTreeNode
child = (
BamlTreeNode
) node.Children[i];
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (43)
44
internal BamlTree(
BamlTreeNode
root, int size)
50
_nodeList = new List<
BamlTreeNode
>(size);
54
internal
BamlTreeNode
Root
65
internal
BamlTreeNode
this[int i]
76
BamlTreeNode
newTreeRoot = _root;
77
List<
BamlTreeNode
> newNodeList = new List<
BamlTreeNode
>(Size);
90
internal void AddTreeNode(
BamlTreeNode
node)
97
private void CreateInternalIndex(ref
BamlTreeNode
parent, ref List<
BamlTreeNode
> nodeList, bool toCopy)
100
List<
BamlTreeNode
> children = parent.Children;
109
parent.Children = new List<
BamlTreeNode
>(children.Count);
124
BamlTreeNode
child = children[i];
138
private
BamlTreeNode
_root; // the root of the tree
139
private List<
BamlTreeNode
> _nodeList; // stores flattened baml tree in depth first order
194
internal void AddChild(
BamlTreeNode
child)
198
_children = new List<
BamlTreeNode
>();
208
internal abstract
BamlTreeNode
Copy();
238
internal List<
BamlTreeNode
> Children
255
internal
BamlTreeNode
Parent
341
protected List<
BamlTreeNode
> _children; // the children list.
342
protected
BamlTreeNode
_parent ; // the tree parent of this node
387
internal override
BamlTreeNode
Copy()
429
internal override
BamlTreeNode
Copy()
450
internal override
BamlTreeNode
Copy()
481
internal override
BamlTreeNode
Copy()
498
internal void InsertProperty(
BamlTreeNode
child)
554
for (
BamlTreeNode
parentNode = Parent;
611
internal override
BamlTreeNode
Copy()
637
internal override
BamlTreeNode
Copy()
671
internal override
BamlTreeNode
Copy()
740
internal override
BamlTreeNode
Copy()
780
internal override
BamlTreeNode
Copy()
824
internal override
BamlTreeNode
Copy()
863
internal override
BamlTreeNode
Copy()
906
internal override
BamlTreeNode
Copy()
944
internal override
BamlTreeNode
Copy()
970
internal override
BamlTreeNode
Copy()
1004
internal override
BamlTreeNode
Copy()
1032
internal override
BamlTreeNode
Copy()
1052
internal override
BamlTreeNode
Copy()
1083
internal override
BamlTreeNode
Copy()
1111
internal override
BamlTreeNode
Copy()
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (27)
93
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
132
BamlTreeNode
newNode;
181
BamlTreeNode
node = treeMap.MapKeyToBamlTreeNode(key);
197
BamlTreeNode
parent = treeMap.MapUidToBamlTreeElementNode(key.Uid);
259
BamlTreeNode
node,
267
IList<
BamlTreeNode
> nodes = SplitXmlContent(
280
BamlTreeNode
parent,
281
IList<
BamlTreeNode
> newChildren
286
List<
BamlTreeNode
> oldChildren = parent.Children;
293
foreach (
BamlTreeNode
node in newChildren)
324
BamlTreeNode
child = oldChildren[i];
355
BamlTreeNode
newNode = newChildren[nodeIndex++];
392
BamlTreeNode
newNode = newChildren[nodeIndex];
412
private static void TryFlushTextToBamlNode(
BamlTreeNode
parent, StringBuilder textContent)
416
BamlTreeNode
textNode = new BamlTextNode(textContent.ToString());
422
private static IList<
BamlTreeNode
> SplitXmlContent(
434
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>(4);
482
IList<
BamlTreeNode
> newChildrenList // list of new children
591
IList<
BamlTreeNode
> list = new List<
BamlTreeNode
>();
620
IList<
BamlTreeNode
> newChildrenList // list of new children
643
BamlTreeNode
node = new BamlTextNode(tokens[i].Value);
649
BamlTreeNode
node = bamlTreeMap.MapUidToBamlTreeElementNode(tokens[i].Value);
725
internal
BamlTreeNode
MapKeyToBamlTreeNode(BamlLocalizableResourceKey key)
727
BamlTreeNode
node = _originalMap.MapKeyToBamlTreeNode(key, _tree);
763
BamlTreeNode
node
src\Framework\MS\Internal\Globalization\LocalizableResourceBuilder.cs (5)
27
internal BamlLocalizableResource BuildFromNode(BamlLocalizableResourceKey key,
BamlTreeNode
node)
136
internal bool TryGetContent(BamlLocalizableResourceKey key,
BamlTreeNode
currentNode, out string content)
180
foreach(
BamlTreeNode
child in elementNode.Children)
468
BamlTreeNode
treeNode = (
BamlTreeNode
) node;