Can't parse named diagrams
See original GitHub issueDescribe the bug PUML diagrams can have names which comes right after the start directive.
Currently the tool breaks when passing such diagrams.
To Reproduce
- try to parse or parseFile a named diagram
- See error:
return new peg$SyntaxError(
^
SyntaxError: Expected "(", "\n", "\r\n", or [ \t] but "n" found.
PlantUML
@startuml name
class A
class B
A --|> B
@enduml
Expected behavior Tool should parse normally.
Screenshots N/A
Desktop (please complete the following information):
- OS: Mac OS Mojave
- node
- v12
Smartphone (please complete the following information): N/A
Additional context N/A
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Message name parsing - No Magic Documentation
Message name parsing. On a Message name area on a diagram pane, you can type the name of a new Operation together with...
Read more >[Solved] Photoshop File Format Module Cannot Parse the File?
Method 1: Open the File in Paint · Method 2: Change the DWORD Value for Adobe Photoshop in Windows Registry · Method 3:...
Read more >pandas.to_numeric - find out which string it was unable to parse
I have thought the very same thing, and I don't know if there's a better way, but my current workaround is to search...
Read more >Module parse failed: You may need an appropriate loader to ...
I have an existing project (with custom webpack.config.dev.js file) that I want to integrate with storybooks but after following the getting ...
Read more >ENGINE-09005 Could not parse BPMN process
Hi to everyone. I have set up my process application and I have modelled my BPMN 2.0 process according to the steps referenced...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Asked in the forum if this should be considered valid syntax: https://forum.plantuml.net/10366/are-diagram-names-a-supported-feature
Hello all,
Same answer as on https://github.com/qjebbs/vscode-plantuml/issues/393#issuecomment-887699255
And FYI, all those sources are valids:
Ref. :
Regards.