Refactoring for immutable nodes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user