Lines Matching refs:ITree
90 function CreateTree(const Token: IToken): ITree; in CreateTree()
333 R2: ITree;
652 T: ITree;
668 T: ITree;
683 T: ITree;
733 T: ITree;
736 Node: ITree;
748 Node := Stream.LT(1) as ITree;
759 Node := Stream.LT(I) as ITree; // look ahead to ith token
766 Root: ITree;
781 Root, T, U: ITree;
803 Root: ITree;
816 T: ITree;
826 CheckEquals((Stream.LT(1) as ITree).TokenType,101);
827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN);
828 CheckEquals((Stream.LT(3) as ITree).TokenType,102);
829 CheckEquals((Stream.LT(4) as ITree).TokenType,TToken.DOWN);
830 CheckEquals((Stream.LT(5) as ITree).TokenType,103);
831 CheckEquals((Stream.LT(6) as ITree).TokenType,TToken.UP);
832 CheckEquals((Stream.LT(7) as ITree).TokenType,104);
833 CheckEquals((Stream.LT(8) as ITree).TokenType,TToken.UP);
834 CheckEquals((Stream.LT(9) as ITree).TokenType,TToken.EOF);
836 CheckEquals((Stream.LT(100) as ITree).TokenType,TToken.EOF);
841 R0, R1, R2: ITree;
866 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
867 CheckEquals((Stream.LT(-1) as ITree).TokenType,TToken.UP);
876 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
877 CheckEquals((Stream.LT(-1) as ITree).TokenType,TToken.UP);
882 R0, R1, R2: ITree;
905 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
913 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
915 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
917 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
919 CheckEquals((Stream.LT(1) as ITree).TokenType,104);
922 CheckEquals((Stream.LT(1) as ITree).TokenType,105);
924 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
926 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
927 CheckEquals((Stream.LT(-1) as ITree).TokenType,TToken.UP);
932 R0, R1, R2: ITree;
959 CheckEquals((Stream.LT(1) as ITree).TokenType,102);
961 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
965 CheckEquals((Stream.LT(1) as ITree).TokenType,101);
967 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
969 CheckEquals((Stream.LT(1) as ITree).TokenType,102);
971 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
980 R0, R1, R2, R3: ITree;
1009 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1012 CheckEquals((Stream.LT(1) as ITree).TokenType,102);
1014 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
1016 CheckEquals((Stream.LT(1) as ITree).TokenType,103);
1021 CheckEquals((Stream.LT(1) as ITree).TokenType,104);
1023 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
1025 CheckEquals((Stream.LT(1) as ITree).TokenType,105);
1027 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
1031 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
1035 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1043 R0, R1, R2, R3: ITree;
1072 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1074 CheckEquals((Stream.LT(1) as ITree).TokenType,102);
1076 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
1078 CheckEquals((Stream.LT(1) as ITree).TokenType,103);
1080 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
1083 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1091 R0, R1, R2, R3: ITree;
1115 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
1119 CheckEquals((Stream.LT(1) as ITree).TokenType,102);
1121 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
1123 CheckEquals((Stream.LT(1) as ITree).TokenType,103);
1125 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
1128 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
1132 CheckEquals((Stream.LT(1) as ITree).TokenType,104);
1134 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.DOWN);
1136 CheckEquals((Stream.LT(1) as ITree).TokenType,105);
1138 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.UP);
1141 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
1146 R0, R1, R2: ITree;
1167 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1171 CheckEquals((Stream.LT(1) as ITree).TokenType,104);
1176 R0, R1, R2: ITree;
1194 CheckEquals((Stream.LT(1) as ITree).TokenType,107);
1198 CheckEquals((Stream.LT(1) as ITree).TokenType,104);
1203 T: ITree;
1247 function TestIRewriteRuleXxxxStream.CreateTree(const Token: IToken): ITree; in CreateTree()
1342 Tree1, Tree2: ITree;
1423 Tree1, Tree2: ITree;