DSQL node classes

10 views
Skip to first unread message

Dmitry Yemanov

unread,
Oct 17, 2025, 4:57:59 AM (22 hours ago) Oct 17
to firebir...@googlegroups.com
All,

We currently have 14K+ lines in DdlNodes.epp and ExprNodes.epp. Do we
plan to keep the node classes grouped this way or may consider switching
to class-per-file layout (e.g. dsql/ddl/*, dsql/expr/*, etc)? I don't
speak about changing it completely right now, just what should be
preferred for the new features.

For example, the tablespaces branch already has TablespaceNodes.epp and
I need to know whether it should be moved to the existing DdlNodes heap
or may become a start for the new nodes layout.


Dmitry

Vlad Khorsun

unread,
Oct 17, 2025, 5:35:58 AM (21 hours ago) Oct 17
to firebir...@googlegroups.com
пт, 17 жовт. 2025 р. о 11:57 Dmitry Yemanov <fire...@yandex.ru> пише:
All,

We currently have 14K+ lines in DdlNodes.epp and ExprNodes.epp. Do we
plan to keep the node classes grouped this way or may consider switching
to class-per-file layout (e.g. dsql/ddl/*, dsql/expr/*, etc)? I don't
speak about changing it completely right now, just what should be
preferred for the new features.

  Please,  not a "class-per-file". There should be better way to reach compromise between 
number of files and its sizes.  "class-per-file"is a worst possible way, as for me.

Regards,
Vlad

Adriano dos Santos Fernandes

unread,
Oct 17, 2025, 6:26:38 AM (20 hours ago) Oct 17
to firebir...@googlegroups.com
We already discussed this (topic Split ExprNodes, BoolNodes and
StmtNodes) and the consensus was to split them per categories.

So I'm fine with TablespaceNodes.


Adriano

Alex Peshkoff

unread,
Oct 17, 2025, 11:48:49 AM (15 hours ago) Oct 17
to firebir...@googlegroups.com
On 10/17/25 13:26, Adriano dos Santos Fernandes wrote:

> So I'm fine with TablespaceNodes.
+1


Reply all
Reply to author
Forward
0 new messages