• Home
  • Raw
  • Download

Lines Matching refs:IANTLRInterface

60   ITreeAdaptor = interface(IANTLRInterface)
73 function CreateNode(const Payload: IToken): IANTLRInterface; overload;
77 function DupNode(const TreeNode: IANTLRInterface): IANTLRInterface;
80 function DupTree(const Tree: IANTLRInterface): IANTLRInterface;
87 function GetNilNode: IANTLRInterface;
106 const E: ERecognitionException): IANTLRInterface;
111 function IsNil(const Tree: IANTLRInterface): Boolean;
131 procedure AddChild(const T, Child: IANTLRInterface); argument
162 function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload; in BecomeRoot() argument
178 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface; in RulePostProcessing() argument
198 function GetUniqueID(const Node: IANTLRInterface): Integer;
209 …function BecomeRoot(const NewRoot: IToken; const OldRoot: IANTLRInterface): IANTLRInterface; overl…
217 … function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload;
226 const Text: String): IANTLRInterface; overload;
234 function CreateNode(const TokenType: Integer; const Text: String): IANTLRInterface; overload;
239 function GetNodeType(const T: IANTLRInterface): Integer;
242 procedure SetNodeType(const T: IANTLRInterface; const NodeType: Integer);
244 function GetNodeText(const T: IANTLRInterface): String;
247 procedure SetNodeText(const T: IANTLRInterface; const Text: String);
260 function GetToken(const TreeNode: IANTLRInterface): IToken;
272 procedure SetTokenBoundaries(const T: IANTLRInterface; const StartToken,
278 function GetTokenStartIndex(const T: IANTLRInterface): Integer;
283 function GetTokenStopIndex(const T: IANTLRInterface): Integer;
288 function GetChild(const T: IANTLRInterface; const I: Integer): IANTLRInterface;
291 procedure SetChild(const T: IANTLRInterface; const I: Integer; const Child: IANTLRInterface);
294 function DeleteChild(const T: IANTLRInterface; const I: Integer): IANTLRInterface;
297 function GetChildCount(const T: IANTLRInterface): Integer;
306 function GetParent(const T: IANTLRInterface): IANTLRInterface;
307 procedure SetParent(const T, Parent: IANTLRInterface);
316 function GetChildIndex(const T: IANTLRInterface): Integer;
317 procedure SetChildIdex(const T: IANTLRInterface; const Index: Integer);
327 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
328 StopChildIndex: Integer; const T: IANTLRInterface);
335 function GetTreeSource: IANTLRInterface;
347 function Get(const I: Integer): IANTLRInterface; in Get()
361 function LT(const K: Integer): IANTLRInterface; in LT()
369 function ToString(const Start, Stop: IANTLRInterface): String; overload; in ToString() argument
386 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
387 StopChildIndex: Integer; const T: IANTLRInterface);
397 property TreeSource: IANTLRInterface read GetTreeSource;
438 ITree = interface(IANTLRInterface)
473 function DeleteChild(const I: Integer): IANTLRInterface;
482 const T: IANTLRInterface);
641 function DupTree(const Tree: IANTLRInterface): IANTLRInterface; overload; in DupTree() argument
642 function DupTree(const T, Parent: IANTLRInterface): IANTLRInterface; overload; in DupTree() argument
709 function GetCurrentSymbol: IANTLRInterface;
710 function GetTreeSource: IANTLRInterface; in GetTreeSource()
724 procedure FillBuffer(const T: IANTLRInterface);
726 function Get(const I: Integer): IANTLRInterface;
728 function LT(const K: Integer): IANTLRInterface;
733 function LB(const K: Integer): IANTLRInterface;
751 function ToString(const Start, Stop: IANTLRInterface): String; overload;
755 property CurrentSymbol: IANTLRInterface read GetCurrentSymbol;
761 property TreeSource: IANTLRInterface read GetTreeSource;
775 IParseTree = interface(IANTLRInterface)
804 IRewriteRuleElementStream = interface(IANTLRInterface)
810 procedure Add(const El: IANTLRInterface);
827 function NextTree: IANTLRInterface;
828 function NextNode: IANTLRInterface;
843 function NextNode: IANTLRInterface;
862 function NextNode: IANTLRInterface;
873 function NextNode: IANTLRInterface;
897 ITreePatternLexer = interface(IANTLRInterface)
904 IContextVisitor = interface(IANTLRInterface)
907 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
908 const Labels: IDictionary<String, IANTLRInterface>);
929 ITreeWizard = interface(IANTLRInterface)
953 function Index(const T: IANTLRInterface): IDictionary<Integer, IList<IANTLRInterface>>;
956 …function Find(const T: IANTLRInterface; const TokenType: Integer): IList<IANTLRInterface>; overloa…
959 … function Find(const T: IANTLRInterface; const Pattern: String): IList<IANTLRInterface>; overload;
961 … function FindFirst(const T: IANTLRInterface; const TokenType: Integer): IANTLRInterface; overload;
962 function FindFirst(const T: IANTLRInterface; const Pattern: String): IANTLRInterface; overload;
973 procedure Visit(const T: IANTLRInterface; const TokenType: Integer;
984 procedure Visit(const T: IANTLRInterface; const Pattern: String;
1000 function Parse(const T: IANTLRInterface; const Pattern: String; in Parse()
1001 const Labels: IDictionary<String, IANTLRInterface>): Boolean; overload;
1002 function Parse(const T: IANTLRInterface; const Pattern: String): Boolean; overload; in Parse()
1020 function CreateTreeOrNode(const Pattern: String): IANTLRInterface; in CreateTreeOrNode()
1026 function Equals(const T1, T2: IANTLRInterface): Boolean; overload; in Equals() argument
1040 function Equals(const T1, T2: IANTLRInterface; const Adaptor: ITreeAdaptor): Boolean; overload;
1043 ITreePatternParser = interface(IANTLRInterface)
1046 function Pattern: IANTLRInterface;
1047 function ParseTree: IANTLRInterface;
1048 function ParseNode: IANTLRInterface;
1082 function GetCurrent: IANTLRInterface;
1092 property Current: IANTLRInterface read GetCurrent;
1156 function DeleteChild(const I: Integer): IANTLRInterface;
1159 const T: IANTLRInterface);
1264 FTreeToUniqueIDMap: IDictionary<IANTLRInterface, Integer>;
1270 function CreateNode(const Payload: IToken): IANTLRInterface; overload; virtual; abstract; in CreateNode()
1271 function DupNode(const TreeNode: IANTLRInterface): IANTLRInterface; virtual; abstract; in DupNode() argument
1272 function DupTree(const Tree: IANTLRInterface): IANTLRInterface; overload; virtual; in DupTree() argument
1273 function GetNilNode: IANTLRInterface; virtual; in GetNilNode()
1275 const E: ERecognitionException): IANTLRInterface; virtual;
1276 function IsNil(const Tree: IANTLRInterface): Boolean; virtual; in IsNil() argument
1277 procedure AddChild(const T, Child: IANTLRInterface); virtual; argument
1278 … function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload; virtual; in BecomeRoot() argument
1279 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface; virtual; in RulePostProcessing() argument
1280 function GetUniqueID(const Node: IANTLRInterface): Integer; in GetUniqueID() argument
1281 …function BecomeRoot(const NewRoot: IToken; const OldRoot: IANTLRInterface): IANTLRInterface; overl… in BecomeRoot() argument
1282 …function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload;… in CreateNode()
1284 const Text: String): IANTLRInterface; overload; virtual;
1285 …function CreateNode(const TokenType: Integer; const Text: String): IANTLRInterface; overload; virt… in CreateNode()
1286 function GetNodeType(const T: IANTLRInterface): Integer; virtual; in GetNodeType() argument
1287 procedure SetNodeType(const T: IANTLRInterface; const NodeType: Integer); virtual;
1288 function GetNodeText(const T: IANTLRInterface): String; virtual; in GetNodeText() argument
1289 procedure SetNodeText(const T: IANTLRInterface; const Text: String); virtual;
1290 function GetToken(const TreeNode: IANTLRInterface): IToken; virtual; abstract; in GetToken() argument
1291 procedure SetTokenBoundaries(const T: IANTLRInterface; const StartToken,
1293 function GetTokenStartIndex(const T: IANTLRInterface): Integer; virtual; abstract; in GetTokenStartIndex() argument
1294 function GetTokenStopIndex(const T: IANTLRInterface): Integer; virtual; abstract; in GetTokenStopIndex() argument
1295 function GetChild(const T: IANTLRInterface; const I: Integer): IANTLRInterface; virtual; in GetChild()
1296 …procedure SetChild(const T: IANTLRInterface; const I: Integer; const Child: IANTLRInterface); virt… argument
1297 function DeleteChild(const T: IANTLRInterface; const I: Integer): IANTLRInterface; virtual; in DeleteChild()
1298 function GetChildCount(const T: IANTLRInterface): Integer; virtual; in GetChildCount() argument
1299 function GetParent(const T: IANTLRInterface): IANTLRInterface; virtual; abstract; in GetParent() argument
1300 procedure SetParent(const T, Parent: IANTLRInterface); virtual; abstract; argument
1301 function GetChildIndex(const T: IANTLRInterface): Integer; virtual; abstract; in GetChildIndex() argument
1302 procedure SetChildIdex(const T: IANTLRInterface; const Index: Integer); virtual; abstract;
1303 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
1304 StopChildIndex: Integer; const T: IANTLRInterface); virtual; abstract;
1307 function DupTree(const T, Parent: IANTLRInterface): IANTLRInterface; overload; virtual; in DupTree() argument
1317 function DupNode(const TreeNode: IANTLRInterface): IANTLRInterface; override; in DupNode() argument
1318 function CreateNode(const Payload: IToken): IANTLRInterface; overload; override; in CreateNode()
1319 procedure SetTokenBoundaries(const T: IANTLRInterface; const StartToken,
1321 function GetTokenStartIndex(const T: IANTLRInterface): Integer; override; in GetTokenStartIndex() argument
1322 function GetTokenStopIndex(const T: IANTLRInterface): Integer; override; in GetTokenStopIndex() argument
1323 function GetNodeText(const T: IANTLRInterface): String; override; in GetNodeText() argument
1324 function GetToken(const TreeNode: IANTLRInterface): IToken; override; in GetToken() argument
1325 function GetNodeType(const T: IANTLRInterface): Integer; override; in GetNodeType() argument
1326 function GetChild(const T: IANTLRInterface; const I: Integer): IANTLRInterface; override; in GetChild()
1327 function GetChildCount(const T: IANTLRInterface): Integer; override; in GetChildCount() argument
1328 function GetParent(const T: IANTLRInterface): IANTLRInterface; override; in GetParent() argument
1329 procedure SetParent(const T, Parent: IANTLRInterface); override; argument
1330 function GetChildIndex(const T: IANTLRInterface): Integer; override; in GetChildIndex() argument
1331 procedure SetChildIdex(const T: IANTLRInterface; const Index: Integer); override;
1332 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
1333 StopChildIndex: Integer; const T: IANTLRInterface); override;
1348 FDown: IANTLRInterface;
1349 FUp: IANTLRInterface;
1350 FEof: IANTLRInterface;
1361 FNodes: IList<IANTLRInterface>;
1364 FRoot: IANTLRInterface;
1408 function GetTreeSource: IANTLRInterface; virtual;
1413 function Get(const I: Integer): IANTLRInterface;
1414 function LT(const K: Integer): IANTLRInterface;
1415 function ToString(const Start, Stop: IANTLRInterface): String; reintroduce; overload;
1416 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
1417 StopChildIndex: Integer; const T: IANTLRInterface);
1420 function GetCurrentSymbol: IANTLRInterface; virtual;
1425 procedure FillBuffer(const T: IANTLRInterface); overload;
1426 function LB(const K: Integer): IANTLRInterface;
1449 function GetNodeIndex(const Node: IANTLRInterface): Integer; in GetNodeIndex() argument
1452 constructor Create(const ATree: IANTLRInterface); overload; argument
1454 const ATree: IANTLRInterface); overload;
1456 const ATree: IANTLRInterface; const AInitialBufferSize: Integer); overload;
1463 FPayload: IANTLRInterface;
1480 constructor Create(const ALabel: IANTLRInterface); argument
1496 FSingleElement: IANTLRInterface;
1501 FElements: IList<IANTLRInterface>;
1525 procedure Add(const El: IANTLRInterface);
1528 function NextTree: IANTLRInterface; virtual;
1529 function NextNode: IANTLRInterface; virtual; abstract;
1541 function _Next: IANTLRInterface;
1547 function ToTree(const El: IANTLRInterface): IANTLRInterface; virtual;
1556 const AElementDescription: String; const AOneElement: IANTLRInterface); overload;
1562 const AElementDescription: String; const AElements: IList<IANTLRInterface>); overload;
1568 function NextNode: IANTLRInterface; override;
1569 function ToTree(const El: IANTLRInterface): IANTLRInterface; override;
1579 TProcessHandler = function(const O: IANTLRInterface): IANTLRInterface of Object;
1587 function FetchObject(const PH: TProcessHandler): IANTLRInterface;
1588 function DupNode(const O: IANTLRInterface): IANTLRInterface;
1602 function Dup(const O: IANTLRInterface): IANTLRInterface; in Dup() argument
1605 function NextNode: IANTLRInterface; override; in NextNode()
1606 function NextTree: IANTLRInterface; override; in NextTree()
1612 function NextNode: IANTLRInterface; override; in NextNode()
1614 function ToTree(const El: IANTLRInterface): IANTLRInterface; override; in ToTree() argument
1643 function GetCurrentInputSymbol(const Input: IIntStream): IANTLRInterface; override; in GetCurrentInputSymbol()
1646 const Follow: IBitSet): IANTLRInterface; override;
1726 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1727 const Labels: IDictionary<String, IANTLRInterface>); overload;
1729 procedure Visit(const T: IANTLRInterface); overload; virtual; abstract;
1756 function CreateNode(const Payload: IToken): IANTLRInterface; overload; override;
1762 FList: IList<IANTLRInterface>;
1764 procedure Visit(const T: IANTLRInterface); override;
1766 constructor Create(const AList: IList<IANTLRInterface>);
1774 FList: IList<IANTLRInterface>;
1777 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1778 const Labels: IDictionary<String, IANTLRInterface>); overload;
1781 const AList: IList<IANTLRInterface>);
1790 FLabels: IDictionary<String, IANTLRInterface>;
1793 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1794 const UnusedLabels: IDictionary<String, IANTLRInterface>); overload;
1803 function Index(const T: IANTLRInterface): IDictionary<Integer, IList<IANTLRInterface>>;
1804 …function Find(const T: IANTLRInterface; const TokenType: Integer): IList<IANTLRInterface>; overloa…
1805 … function Find(const T: IANTLRInterface; const Pattern: String): IList<IANTLRInterface>; overload;
1806 … function FindFirst(const T: IANTLRInterface; const TokenType: Integer): IANTLRInterface; overload;
1807 function FindFirst(const T: IANTLRInterface; const Pattern: String): IANTLRInterface; overload;
1808 procedure Visit(const T: IANTLRInterface; const TokenType: Integer;
1810 procedure Visit(const T: IANTLRInterface; const Pattern: String;
1812 function Parse(const T: IANTLRInterface; const Pattern: String;
1813 const Labels: IDictionary<String, IANTLRInterface>): Boolean; overload;
1814 function Parse(const T: IANTLRInterface; const Pattern: String): Boolean; overload;
1815 function CreateTreeOrNode(const Pattern: String): IANTLRInterface;
1816 function Equals(const T1, T2: IANTLRInterface): Boolean; reintroduce; overload;
1817 function Equals(const T1, T2: IANTLRInterface;
1820 function _Parse(const T1: IANTLRInterface; const T2: ITreePattern;
1821 const Labels: IDictionary<String, IANTLRInterface>): Boolean;
1824 procedure _Index(const T: IANTLRInterface;
1825 const M: IDictionary<Integer, IList<IANTLRInterface>>);
1828 procedure _Visit(const T, Parent: IANTLRInterface; const ChildIndex,
1831 class function _Equals(const T1, T2: IANTLRInterface;
1850 function Pattern: IANTLRInterface;
1851 function ParseTree: IANTLRInterface;
1852 function ParseNode: IANTLRInterface;
1861 FStart: IANTLRInterface;
1864 function GetStart: IANTLRInterface; override;
1865 procedure SetStart(const Value: IANTLRInterface); override;
1880 ITreeWalkState = interface(IANTLRInterface)
1887 function GetCurrentNode: IANTLRInterface;
1888 procedure SetCurrentNode(const Value: IANTLRInterface);
1889 function GetPreviousNode: IANTLRInterface;
1890 procedure SetPreviousNode(const Value: IANTLRInterface);
1901 property CurrentNode: IANTLRInterface read GetCurrentNode write SetCurrentNode;
1902 property PreviousNode: IANTLRInterface read GetPreviousNode write SetPreviousNode;
1914 FCurrentNode: IANTLRInterface;
1915 FPreviousNode: IANTLRInterface;
1927 function GetCurrentNode: IANTLRInterface;
1928 procedure SetCurrentNode(const Value: IANTLRInterface);
1929 function GetPreviousNode: IANTLRInterface;
1930 procedure SetPreviousNode(const Value: IANTLRInterface);
1943 FRoot: IANTLRInterface;
1956 FNodeStack: IStackList<IANTLRInterface>;
1965 FCurrentNode: IANTLRInterface;
1968 FPreviousNode: IANTLRInterface;
2017 FDown: IANTLRInterface;
2018 FUp: IANTLRInterface;
2019 FEof: IANTLRInterface;
2038 function GetTreeSource: IANTLRInterface; virtual;
2042 function Get(const I: Integer): IANTLRInterface; virtual;
2043 function LT(const K: Integer): IANTLRInterface; virtual;
2044 function ToString(const Start, Stop: IANTLRInterface): String; reintroduce; overload; virtual;
2045 procedure ReplaceChildren(const Parent: IANTLRInterface; const StartChildIndex,
2046 StopChildIndex: Integer; const T: IANTLRInterface);
2051 function GetCurrent: IANTLRInterface; virtual;
2083 procedure AddLookahead(const Node: IANTLRInterface); virtual;
2085 procedure ToStringWork(const P, Stop: IANTLRInterface;
2088 function HandleRootNode: IANTLRInterface; virtual;
2089 function VisitChild(const Child: Integer): IANTLRInterface; virtual;
2104 constructor Create(const ATree: IANTLRInterface); overload;
2105 constructor Create(const AAdaptor: ITreeAdaptor; const ATree: IANTLRInterface); overload;
2199 function TBaseTree.DeleteChild(const I: Integer): IANTLRInterface; in DeleteChild()
2280 StopChildIndex: Integer; const T: IANTLRInterface);
2678 procedure TBaseTreeAdaptor.AddChild(const T, Child: IANTLRInterface);
2685 OldRoot: IANTLRInterface): IANTLRInterface; in BecomeRoot()
2715 const OldRoot: IANTLRInterface): IANTLRInterface;
2721 const FromToken: IToken): IANTLRInterface;
2731 const Text: String): IANTLRInterface;
2740 const FromToken: IToken; const Text: String): IANTLRInterface;
2756 function TBaseTreeAdaptor.DeleteChild(const T: IANTLRInterface; in DeleteChild()
2757 const I: Integer): IANTLRInterface;
2763 Parent: IANTLRInterface): IANTLRInterface; in DupTree()
2766 Child, NewSubTree: IANTLRInterface;
2786 function TBaseTreeAdaptor.DupTree(const Tree: IANTLRInterface): IANTLRInterface; in DupTree()
2792 Stop: IToken; const E: ERecognitionException): IANTLRInterface;
2797 function TBaseTreeAdaptor.GetChild(const T: IANTLRInterface; in GetChild()
2798 const I: Integer): IANTLRInterface;
2803 function TBaseTreeAdaptor.GetChildCount(const T: IANTLRInterface): Integer; in GetChildCount()
2808 function TBaseTreeAdaptor.GetNilNode: IANTLRInterface; in GetNilNode()
2813 function TBaseTreeAdaptor.GetNodeText(const T: IANTLRInterface): String; in GetNodeText()
2818 function TBaseTreeAdaptor.GetNodeType(const T: IANTLRInterface): Integer; in GetNodeType()
2823 function TBaseTreeAdaptor.GetUniqueID(const Node: IANTLRInterface): Integer; in GetUniqueID()
2826 FTreeToUniqueIDMap := TDictionary<IANTLRInterface, Integer>.Create;
2835 function TBaseTreeAdaptor.IsNil(const Tree: IANTLRInterface): Boolean; in IsNil()
2841 const Root: IANTLRInterface): IANTLRInterface; in RulePostProcessing()
2862 procedure TBaseTreeAdaptor.SetChild(const T: IANTLRInterface; const I: Integer;
2863 const Child: IANTLRInterface);
2868 procedure TBaseTreeAdaptor.SetNodeText(const T: IANTLRInterface;
2874 procedure TBaseTreeAdaptor.SetNodeType(const T: IANTLRInterface;
2882 function TCommonTreeAdaptor.CreateNode(const Payload: IToken): IANTLRInterface; in CreateNode()
2899 const TreeNode: IANTLRInterface): IANTLRInterface; in DupNode()
2907 function TCommonTreeAdaptor.GetChild(const T: IANTLRInterface; in GetChild()
2908 const I: Integer): IANTLRInterface;
2916 function TCommonTreeAdaptor.GetChildCount(const T: IANTLRInterface): Integer; in GetChildCount()
2924 function TCommonTreeAdaptor.GetChildIndex(const T: IANTLRInterface): Integer; in GetChildIndex()
2929 function TCommonTreeAdaptor.GetNodeText(const T: IANTLRInterface): String; in GetNodeText()
2937 function TCommonTreeAdaptor.GetNodeType(const T: IANTLRInterface): Integer; in GetNodeType()
2946 const T: IANTLRInterface): IANTLRInterface; in GetParent()
2951 function TCommonTreeAdaptor.GetToken(const TreeNode: IANTLRInterface): IToken; in GetToken()
2962 const T: IANTLRInterface): Integer; in GetTokenStartIndex()
2971 const T: IANTLRInterface): Integer; in GetTokenStopIndex()
2979 procedure TCommonTreeAdaptor.ReplaceChildren(const Parent: IANTLRInterface;
2980 const StartChildIndex, StopChildIndex: Integer; const T: IANTLRInterface);
2986 procedure TCommonTreeAdaptor.SetChildIdex(const T: IANTLRInterface;
2992 procedure TCommonTreeAdaptor.SetParent(const T, Parent: IANTLRInterface);
2997 procedure TCommonTreeAdaptor.SetTokenBoundaries(const T: IANTLRInterface;
3023 NavNode: IANTLRInterface;
3055 constructor TCommonTreeNodeStream.Create(const ATree: IANTLRInterface);
3061 const ATree: IANTLRInterface);
3067 const ATree: IANTLRInterface; const AInitialBufferSize: Integer);
3072 FNodes := TList<IANTLRInterface>.Create;
3085 procedure TCommonTreeNodeStream.FillBuffer(const T: IANTLRInterface);
3108 function TCommonTreeNodeStream.Get(const I: Integer): IANTLRInterface; in Get()
3115 function TCommonTreeNodeStream.GetCurrentSymbol: IANTLRInterface; in GetCurrentSymbol()
3126 const Node: IANTLRInterface): Integer; in GetNodeIndex()
3128 T: IANTLRInterface;
3156 function TCommonTreeNodeStream.GetTreeSource: IANTLRInterface; in GetTreeSource()
3176 function TCommonTreeNodeStream.LB(const K: Integer): IANTLRInterface; in LB()
3187 function TCommonTreeNodeStream.LT(const K: Integer): IANTLRInterface; in LT()
3230 procedure TCommonTreeNodeStream.ReplaceChildren(const Parent: IANTLRInterface;
3231 const StartChildIndex, StopChildIndex: Integer; const T: IANTLRInterface);
3286 Stop: IANTLRInterface): String; in ToString()
3290 T: IANTLRInterface;
3365 T: IANTLRInterface;
3386 T: IANTLRInterface;
3408 constructor TParseTree.Create(const ALabel: IANTLRInterface);
3525 procedure TRewriteRuleElementStream.Add(const El: IANTLRInterface);
3539 FElements := TList<IANTLRInterface>.Create;
3556 const AElementDescription: String; const AOneElement: IANTLRInterface);
3563 const AElementDescription: String; const AElements: IList<IANTLRInterface>);
3580 function TRewriteRuleElementStream.NextTree: IANTLRInterface; in NextTree()
3602 function TRewriteRuleElementStream.ToTree(const El: IANTLRInterface): IANTLRInterface; in ToTree()
3607 function TRewriteRuleElementStream._Next: IANTLRInterface; in _Next()
3644 function TRewriteRuleNodeStream.NextNode: IANTLRInterface; in TRewriteRuleNodeStream.NextNode()
3650 const El: IANTLRInterface): IANTLRInterface; in ToTree()
3658 const O: IANTLRInterface): IANTLRInterface; in TRewriteRuleSubtreeStream.Dup()
3664 const O: IANTLRInterface): IANTLRInterface; in TRewriteRuleSubtreeStream.DupNode()
3670 const PH: TProcessHandler): IANTLRInterface; in TRewriteRuleSubtreeStream.FetchObject()
3680 function TRewriteRuleSubtreeStream.NextNode: IANTLRInterface; in NextNode()
3686 function TRewriteRuleSubtreeStream.NextTree: IANTLRInterface; in NextTree()
3703 function TRewriteRuleTokenStream.NextNode: IANTLRInterface; in NextNode()
3714 const El: IANTLRInterface): IANTLRInterface; in ToTree()
3735 const Input: IIntStream): IANTLRInterface; in GetCurrentInputSymbol()
3772 const Follow: IBitSet): IANTLRInterface;
3792 Look: IANTLRInterface;
4010 function TTreeWizard.CreateTreeOrNode(const Pattern: String): IANTLRInterface; in CreateTreeOrNode()
4020 function TTreeWizard.Equals(const T1, T2: IANTLRInterface; in TTreeWizard.Equals() argument
4026 function TTreeWizard.Equals(const T1, T2: IANTLRInterface): Boolean; in TTreeWizard.Equals() argument
4031 function TTreeWizard.Find(const T: IANTLRInterface; in Find() argument
4032 const Pattern: String): IList<IANTLRInterface>;
4040 Result := TList<IANTLRInterface>.Create;
4058 function TTreeWizard.Find(const T: IANTLRInterface; in Find()
4059 const TokenType: Integer): IList<IANTLRInterface>;
4061 Result := TList<IANTLRInterface>.Create;
4065 function TTreeWizard.FindFirst(const T: IANTLRInterface; in FindFirst()
4066 const TokenType: Integer): IANTLRInterface;
4071 function TTreeWizard.FindFirst(const T: IANTLRInterface; in FindFirst()
4072 const Pattern: String): IANTLRInterface;
4086 const T: IANTLRInterface): IDictionary<Integer, IList<IANTLRInterface>>; in Index()
4088 Result := TDictionary<Integer, IList<IANTLRInterface>>.Create;
4092 function TTreeWizard.Parse(const T: IANTLRInterface; in Parse()
4098 function TTreeWizard.Parse(const T: IANTLRInterface; const Pattern: String; in Parse()
4099 const Labels: IDictionary<String, IANTLRInterface>): Boolean;
4111 procedure TTreeWizard.Visit(const T: IANTLRInterface; const Pattern: String;
4133 class function TTreeWizard._Equals(const T1, T2: IANTLRInterface;
4137 Child1, Child2: IANTLRInterface;
4165 procedure TTreeWizard._Index(const T: IANTLRInterface;
4166 const M: IDictionary<Integer, IList<IANTLRInterface>>);
4169 Elements: IList<IANTLRInterface>;
4178 Elements := TList<IANTLRInterface>.Create;
4187 function TTreeWizard._Parse(const T1: IANTLRInterface; const T2: ITreePattern; in _Parse()
4188 const Labels: IDictionary<String, IANTLRInterface>): Boolean;
4191 Child1: IANTLRInterface;
4228 procedure TTreeWizard._Visit(const T, Parent: IANTLRInterface; const ChildIndex,
4243 procedure TTreeWizard.Visit(const T: IANTLRInterface; const TokenType: Integer;
4266 function TTreePatternParser.ParseNode: IANTLRInterface; in ParseNode()
4328 function TTreePatternParser.ParseTree: IANTLRInterface; in ParseTree()
4330 Subtree, Child: IANTLRInterface;
4369 function TTreePatternParser.Pattern: IANTLRInterface; in Pattern()
4371 Node: IANTLRInterface;
4390 procedure TTreeWizard.TVisitor.Visit(const T, Parent: IANTLRInterface;
4392 const Labels: IDictionary<String, IANTLRInterface>);
4400 const AList: IList<IANTLRInterface>);
4406 procedure TTreeWizard.TRecordAllElementsVisitor.Visit(const T: IANTLRInterface);
4415 const AList: IList<IANTLRInterface>);
4424 Parent: IANTLRInterface; const ChildIndex: Integer;
4425 const Labels: IDictionary<String, IANTLRInterface>);
4441 FLabels := TDictionary<String, IANTLRInterface>.Create;
4445 Parent: IANTLRInterface; const ChildIndex: Integer;
4446 const UnusedLabels: IDictionary<String, IANTLRInterface>);
4487 const Payload: IToken): IANTLRInterface; in TTreePatternTreeAdaptor()
4494 function TTreeRuleReturnScope.GetStart: IANTLRInterface; in GetStart()
4499 procedure TTreeRuleReturnScope.SetStart(const Value: IANTLRInterface); argument
4506 procedure TUnBufferedTreeNodeStream.AddLookahead(const Node: IANTLRInterface); argument
4533 NavNode: IANTLRInterface;
4565 FNodeStack := TStackList<IANTLRInterface>.Create;
4569 constructor TUnBufferedTreeNodeStream.Create(const ATree: IANTLRInterface); argument
4575 const ATree: IANTLRInterface);
4595 function TUnBufferedTreeNodeStream.Get(const I: Integer): IANTLRInterface; in TUnBufferedTreeNodeStream.Get()
4600 function TUnBufferedTreeNodeStream.GetCurrent: IANTLRInterface; in GetCurrent()
4625 function TUnBufferedTreeNodeStream.GetTreeSource: IANTLRInterface; in TUnBufferedTreeNodeStream.GetTreeSource()
4630 function TUnBufferedTreeNodeStream.HandleRootNode: IANTLRInterface; in TUnBufferedTreeNodeStream.HandleRootNode()
4654 T: IANTLRInterface;
4676 function TUnBufferedTreeNodeStream.LT(const K: Integer): IANTLRInterface; in TUnBufferedTreeNodeStream.LT()
4780 const Parent: IANTLRInterface; const StartChildIndex, StopChildIndex: Integer;
4781 const T: IANTLRInterface);
4859 procedure TUnBufferedTreeNodeStream.ToStringWork(const P, Stop: IANTLRInterface;
4894 const Child: Integer): IANTLRInterface; in VisitChild()
4933 Stop: IANTLRInterface): String; in ToString()
4976 function TUnBufferedTreeNodeStream.TTreeWalkState.GetCurrentNode: IANTLRInterface; in TTreeWalkState()
4996 function TUnBufferedTreeNodeStream.TTreeWalkState.GetPreviousNode: IANTLRInterface; in TTreeWalkState()
5014 const Value: IANTLRInterface);
5038 const Value: IANTLRInterface);