$ plantcode -l java plantuml.txt
Error parsing input file:
plantuml.txt
{ SyntaxError: Expected [ \t:], [ \t], [A-Za-z_] or [^ ,\n\r\t(){}] but "{" found.
at peg$buildException (/home/user/Pictures/PSE/Klassendiagram/codegenerator/plantuml-code-generator/src/plantuml.js:370:14)
at Object.peg$parse [as parse] (/home/user/Pictures/PSE/Klassendiagram/codegenerator/plantuml-code-generator/src/plantuml.js:3641:13)
at processInputFile (/home/user/Pictures/PSE/Klassendiagram/codegenerator/plantuml-code-generator/plantcode:153:29)
at /home/user/Pictures/PSE/Klassendiagram/codegenerator/plantuml-code-generator/plantcode:120:7
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
message:
'Expected [ \\t:], [ \\t], [A-Za-z_] or [^ ,\\n\\r\\t(){}] but "{" found.',
expected:
[ { type: 'class', value: '[ \\t:]', description: '[ \\t:]' },
{ type: 'class', value: '[ \\t]', description: '[ \\t]' },
{ type: 'class', value: '[A-Za-z_]', description: '[A-Za-z_]' },
{ type: 'class',
value: '[^ ,\\n\\r\\t(){}]',
description: '[^ ,\\n\\r\\t(){}]' } ],
found: '{',
location:
{ start: { offset: 27, line: 3, column: 4 },
end: { offset: 28, line: 3, column: 5 } },
name: 'SyntaxError' }