コード例 #1
0
        private void AddLocation(ValueLocation location)
        {
            LocationCollectorNode nextNode = node.CreateValueChild(location);

            nextNode.IsMust = isMust;
            treeIndexCollector.AddNode(nextNode);
        }
コード例 #2
0
 private void collectImplicitAnyNode(CollectorNode node)
 {
     if (testAndProcessReturnedAnyNode(node))
     {
         LocationCollectorNode nextNode = node.CreateUndefinedAnyChild();
         AddNode(nextNode);
     }
 }
コード例 #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);
     }
 }
コード例 #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);
     }
 }
コード例 #5
0
 private void collectMemoryIndexAnyNode(MemoryIndex unknownIndex, CollectorNode node)
 {
     if (testAndProcessReturnedAnyNode(node))
     {
         LocationCollectorNode nextNode = node.CreateMemoryIndexAnyChild(unknownIndex);
         nextNode.IsMust = false;
         AddNode(nextNode);
     }
 }
コード例 #6
0
 public void AddNode(LocationCollectorNode nextNode)
 {
     nextIterationNodes.Add(nextNode);
 }
コード例 #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);
 }