Description | Hierarchy | Fields | Methods | Properties |
type TGuard = class(TSymbol)
Terminal or non-terminal symbol of the grammar.
This is an item of double-linked list TProduction. Note that one TProduction instance may be used many times (by many TNonTerminal symbols), however each TSymbol
instance can be used in only one TProduction instance — so that Next and Previous fields have sense.
![]() |
constructor Create(AParentProduction: TProduction); |
![]() |
function GraphLabel(LongNonTerminalNames: boolean): string; override; |
![]() |
function Name: string; override; |
![]() |
function CreateCopyContents: TSymbol; override; |
![]() |
property ParentProduction: TProduction
read FParentProduction; |
![]() |
constructor Create(AParentProduction: TProduction); |
![]() |
function GraphLabel(LongNonTerminalNames: boolean): string; override; |
![]() |
function Name: string; override; |
![]() |
function CreateCopyContents: TSymbol; override; |
![]() |
property ParentProduction: TProduction
read FParentProduction; |
Note that only the TGuard has Reason: if all symbols had |