private void AddLocation(ValueLocation location) { LocationCollectorNode nextNode = node.CreateValueChild(location); nextNode.IsMust = isMust; treeIndexCollector.AddNode(nextNode); }
private void collectImplicitAnyNode(CollectorNode node) { if (testAndProcessReturnedAnyNode(node)) { LocationCollectorNode nextNode = node.CreateUndefinedAnyChild(); AddNode(nextNode); } }
private void collectImplicitNode(string name, CollectorNode node, bool isMust) { if (testAndProcessReturnedNode(name, node, isMust)) { LocationCollectorNode nextNode = node.CreateUndefinedChild(name); nextNode.IsMust = isMust; AddNode(nextNode); } }
private void collectMemoryIndexExpandedNode(string name, MemoryIndex memoryIndex, CollectorNode node) { if (testAndProcessReturnedNode(name, node, false)) { LocationCollectorNode nextNode = node.CreateMemoryIndexChild(name, memoryIndex); nextNode.IsMust = false; AddNode(nextNode); } }
private void collectMemoryIndexAnyNode(MemoryIndex unknownIndex, CollectorNode node) { if (testAndProcessReturnedAnyNode(node)) { LocationCollectorNode nextNode = node.CreateMemoryIndexAnyChild(unknownIndex); nextNode.IsMust = false; AddNode(nextNode); } }
public void AddNode(LocationCollectorNode nextNode) { nextIterationNodes.Add(nextNode); }
/// <summary> /// Collects the alias. /// </summary> /// <param name="node">The node.</param> /// <param name="alias">The alias.</param> /// <param name="isMust">if set to <c>true</c> [is must].</param> public void CollectAlias(LocationCollectorNode node, MemoryIndex alias, bool isMust) { RootNode.CollectAlias(this, alias, isMust); }