Initial check in rtl

This commit is contained in:
2026-01-03 18:32:50 +01:00
parent ee130973e2
commit b20cd8e688
23 changed files with 4929 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
unit dpgrtl.treeparserstate;
interface
uses
dpgrtl.types;
type
TTreeParserState = class( TInterfacedObject, ITreeParserState)
protected
fGuessing : integer;
protected
function GetGuessing: integer;
procedure SetGuessing( Value: integer);
public
procedure AfterConstruction; override;
end;
implementation
{ TParserState }
// ================================================================================================
// After Construction
// ================================================================================================
procedure TTreeParserState.AfterConstruction;
begin
inherited;
fGuessing := 0;
end;
// ================================================================================================
// Get Guessing
// ================================================================================================
function TTreeParserState.GetGuessing: integer;
begin
result := fGuessing
end;
// ================================================================================================
// Set Guessing
// ================================================================================================
procedure TTreeParserState.SetGuessing(Value: integer);
begin
fGuessing := Value
end;
end.