Refactoring for immutable nodes

This commit is contained in:
Michael Schimmel
2025-11-05 13:21:17 +01:00
parent 9bd2d6f7ab
commit c0a689d2bc
13 changed files with 217 additions and 190 deletions
+2
View File
@@ -132,6 +132,7 @@ type
IAstNode = interface(IInterface)
{$region 'private'}
function GetKind: TAstNodeKind;
function GetIsTyped: Boolean;
{$endregion}
function Accept(const Visitor: IAstVisitor): TDataValue;
@@ -164,6 +165,7 @@ type
function AsBoundIdentifierNode: IBoundIdentifierNode;
function AsTypedNode: IAstTypedNode;
property IsTyped: Boolean read GetIsTyped;
property Kind: TAstNodeKind read GetKind;
end;