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