What is the purpose of PrimordialHandler class and while default indent level is set to zero? #14498
-
I am raising this question due to #14149 (comment) consider the code below. I wanted to enquire - what is purpose of hardcoding |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Try to go to git history to get links to issues and PRs when it was introduced. |
Beta Was this translation helpful? Give feedback.
-
I would assume that the name |
Beta Was this translation helpful? Give feedback.
-
Fine. I understood the purpose. When indentation check is triggered - then the program flows in the following way --
Now, here this Now, the question is: should it be like this:
I have further investigated and found the |
Beta Was this translation helpful? Give feedback.
I would assume that the name
PrimordialHandler
is to hint that this is the base/initial/fundamental indentation handler; therefore we would always want the base indentation to be zero.