Parser Sidebar

Parser sidebar allows you to easily turn your source code into diagram elements.

There are several ways how to show the Parser sidebar:

  • Clicking on Parser button ( ) in the sidebar.
  • Using the ribbon View (tab) / Window (group) / Sidebars (drop-down button) / Parser
  • Using the menu View / Sidebars / Parser

Parser sidebar is divided into two groups - Source Code and Results. The top part of the sidebar contains a text editor and a Language drop-down, from which you can choose the programming language of your source code. It can be one of these options:

  • Auto - our algorithm tries to detect the programming language of source code input automatically. You can check the resolved language name in the label of the Results group. The syntax highlight will be changed to the resolved language automatically.
  • C++
  • C#
  • DART
  • Java
  • JavaScript
  • PHP
  • Python
  • Object Pascal
  • Ruby
  • SQL DDL
  • TypeScript
  • Visual Basic .NET

The source code will be parsed automatically after inserting it into the edit box (that covers most of the sidebar). If it is a longer piece of code, a progress bar may appear in the result list. When the parsing is completed, the parsed objects will be displayed in the list box in the Results group. You can insert the chosen element using the Insert button or a double click on the element. If you want to insert all the parsed elements into the open diagram, you should use the Insert All button.

The Parser sidebar is a reverse engineering tool that can generate UML classes, properties, interfaces, enumerations, and ERD entities.

Other versions

New Comment

Comment