New visualizer
This commit is contained in:
+1
-7
@@ -922,13 +922,7 @@ end;
|
||||
|
||||
class function TAst.IfExpr(const ACondition: IAstNode; const AThenBranch, AElseBranch: IAstNode): IIfExpressionNode;
|
||||
begin
|
||||
Result :=
|
||||
TIfExpressionNode.Create(
|
||||
ACondition,
|
||||
AThenBranch,
|
||||
if AElseBranch = nil then TBlockExpressionNode.Create([]) as IAstNode
|
||||
else AElseBranch
|
||||
);
|
||||
Result := TIfExpressionNode.Create(ACondition, AThenBranch, AElseBranch);
|
||||
end;
|
||||
|
||||
class function TAst.Indexer(const ABase: IAstNode; const AIndex: IAstNode): IIndexerNode;
|
||||
|
||||
Reference in New Issue
Block a user