Skip to content

Improve TSSymbolExplorerPresenter to display number of children by fields#42

Merged
alesshosry merged 1 commit into
Evref-BL:mainfrom
jecisc:TSSymbolExplorerPresenter
Mar 10, 2026
Merged

Improve TSSymbolExplorerPresenter to display number of children by fields#42
alesshosry merged 1 commit into
Evref-BL:mainfrom
jecisc:TSSymbolExplorerPresenter

Conversation

@jecisc
Copy link
Copy Markdown
Collaborator

@jecisc jecisc commented Mar 9, 2026

In the TSSymbolExplorerPresenter, next to the field name, I now dispaly the min and max number of children I found in the node. This allows to know easily multiple things:

  • If the node is optional
  • If the node always has the same value
  • If the node has an undefined number of values

Here is an example:

image

Info we can get fast:

  • The name is an unique node
  • The body is an unique node
  • Superclasses are optional. Here I see a max number of 1 superclass but my sample was small and had 0 class with multiple inheritance
  • The comments are optional

…elds

In the TSSymbolExplorerPresenter, next to the field name, I now dispaly the min and max number of children I found in the node. This allows to know easily multiple things:
- If the node is optional
- If the node always has the same value
- If the node has un undefined number of values
@jecisc
Copy link
Copy Markdown
Collaborator Author

jecisc commented Mar 9, 2026

I think failing tests are not related

@alesshosry alesshosry merged commit d04ee70 into Evref-BL:main Mar 10, 2026
1 check failed
@jecisc jecisc deleted the TSSymbolExplorerPresenter branch March 10, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants