diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2020-03-10 16:38:20 +0100 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2020-03-10 16:38:20 +0100 |
commit | 7cc8c823de644a510fcc434f39b53e5fffe66bfd (patch) | |
tree | 8f4d027284bb366734f610040c621a0c5dd0a12a /src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java | |
parent | 567b200b91537405689ae0ca944f121201360a6b (diff) |
New upstream version 1.2020.2
Diffstat (limited to 'src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java')
-rw-r--r-- | src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java b/src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java index a15ff6f..00e6785 100644 --- a/src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java +++ b/src/net/sourceforge/plantuml/syntax/LanguageDescriptor.java @@ -2,7 +2,7 @@ * PlantUML : a free UML diagram generator * ======================================================================== * - * (C) Copyright 2009-2017, Arnaud Roques + * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: http://plantuml.com * @@ -37,6 +37,7 @@ package net.sourceforge.plantuml.syntax; import java.io.PrintStream; import java.util.Collection; +import java.util.Collections; import java.util.Set; import java.util.TreeSet; @@ -81,6 +82,7 @@ public class LanguageDescriptor { type.add("queue"); type.add("archimate"); type.add("diamond"); + type.add("detach"); keyword.add("@startuml"); keyword.add("@enduml"); @@ -155,6 +157,7 @@ public class LanguageDescriptor { keyword.add("allow_mixing"); keyword.add("allowmixing"); keyword.add("mainframe"); + keyword.add("accross"); preproc.add("!exit"); preproc.add("!include"); @@ -187,6 +190,7 @@ public class LanguageDescriptor { for (String s : new HtmlColorSetSimple().names()) { cypher.addException(s); } + cypher.addException("o"); return cypher; } @@ -208,4 +212,16 @@ public class LanguageDescriptor { ps.println(); } + public final Set<String> getType() { + return Collections.unmodifiableSet(type); + } + + public final Set<String> getKeyword() { + return Collections.unmodifiableSet(keyword); + } + + public final Set<String> getPreproc() { + return Collections.unmodifiableSet(preproc); + } + } |