Open
Description
Description
- Type: Bug
Bug
puml2code version
$ git describe --tags
v0.7.0-5-ga66c113
$ puml2code -V
0.1.0
Expected Behavior
The syntax used in PlantUML doc can be parsed.
Actual Behavior
Error:
Error: line: 3 column: 28: SyntaxError: Expected [ \t], [\n], or [\r\n] but "{" found.
at PlantUmlToCode.generate (/home/xarvos/github/puml2code/src/index.js:86:15)
at async execute (/home/xarvos/github/puml2code/src/cli.js:53:20)
Steps to Reproduce
- Run
npm install
- Write a file with this code:
@startuml
skinparam classAttributeIconSize 0
class Animal <<interface>> {
- name
- age
+ move()
}
class Dog {
- breed
+ bark()
}
Animal <|-- Dog
@enduml
- Run
bin/puml2code -i path/to/file.puml -l java
Metadata
Metadata
Assignees
Labels
No labels