Exemplo n.º 1
0
        private void AddLocation(ValueLocation location)
        {
            LocationCollectorNode nextNode = node.CreateValueChild(location);

            nextNode.IsMust = isMust;
            treeIndexCollector.AddNode(nextNode);
        }
Exemplo n.º 2
0
 private void collectImplicitAnyNode(CollectorNode node)
 {
     if (testAndProcessReturnedAnyNode(node))
     {
         LocationCollectorNode nextNode = node.CreateUndefinedAnyChild();
         AddNode(nextNode);
     }
 }
Exemplo n.º 3
0
 private void collectImplicitNode(string name, CollectorNode node, bool isMust)
 {
     if (testAndProcessReturnedNode(name, node, isMust))
     {
         LocationCollectorNode nextNode = node.CreateUndefinedChild(name);
         nextNode.IsMust = isMust;
         AddNode(nextNode);
     }
 }
Exemplo n.º 4
0
 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);
     }
 }
Exemplo n.º 5
0
 private void collectMemoryIndexAnyNode(MemoryIndex unknownIndex, CollectorNode node)
 {
     if (testAndProcessReturnedAnyNode(node))
     {
         LocationCollectorNode nextNode = node.CreateMemoryIndexAnyChild(unknownIndex);
         nextNode.IsMust = false;
         AddNode(nextNode);
     }
 }
Exemplo n.º 6
0
 public void AddNode(LocationCollectorNode nextNode)
 {
     nextIterationNodes.Add(nextNode);
 }
Exemplo n.º 7
0
 /// <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);
 }