Exemple #1
0
		internal ForestInternal(InteriorNode node, Nonterminal nonterminal) : base(node.StartPosition, node.EndPosition) {
			_node = node;
			_nonterminal = nonterminal;
			//_nodeLookup = new Dictionary<InteriorNode, ForestInternal>();
			//_nodeLookup[node] = this;

			_options = ForestOption.BuildOptions(node.Families, node.StartPosition, node.EndPosition);
		}
Exemple #2
0
        internal ForestInternal(InteriorNode node, Nonterminal nonterminal) : base(node.StartPosition, node.EndPosition)
        {
            _node        = node;
            _nonterminal = nonterminal;
            //_nodeLookup = new Dictionary<InteriorNode, ForestInternal>();
            //_nodeLookup[node] = this;

            _options = ForestOption.BuildOptions(node.Families, node.StartPosition, node.EndPosition);
        }
Exemple #3
0
 internal Family(InteriorNode node1, SppfNode node2)
 {
     _nodes.Add(node1);
     _nodes.Add(node2);
 }
Exemple #4
0
		internal Family(InteriorNode node1, SppfNode node2) {
			_nodes.Add(node1);
			_nodes.Add(node2);
		}