| | |
| | | **
|
| | | ****************************************************************************/
|
| | |
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Diagnostics;
|
| | | using System.Linq;
|
| | | using System.Text.RegularExpressions;
|
| | |
|
| | | namespace QtVsTools.SyntaxAnalysis
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | static NodeComparer _Comparer = new NodeComparer();
|
| | | static readonly NodeComparer _Comparer = new NodeComparer();
|
| | | public static IComparer<Node> Comparer { get { return _Comparer; } }
|
| | |
|
| | | public Token Token { get; set; }
|
| | |
| | |
|
| | | public Node Parent { get; set; }
|
| | |
|
| | | SortedList<int, Node> _ChildNodes = new SortedList<int, Node>();
|
| | | public SortedList<int, Node> ChildNodes { get { return _ChildNodes; } }
|
| | | public SortedList<int, Node> ChildNodes { get; } = new SortedList<int, Node>();
|
| | |
|
| | | ProductionObjects _ChildProductions = new ProductionObjects();
|
| | | public ProductionObjects ChildProductions { get { return _ChildProductions; } }
|
| | | public ProductionObjects ChildProductions { get; } = new ProductionObjects();
|
| | |
|
| | | public Queue<Node> TokenStream { get; set; }
|
| | | public Stack<Node> OperatorStack { get; set; }
|