class Templates extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static Pattern |
templatePattern |
Constructor and Description |
---|
Templates() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
notExists(String s)
Returns
strip(s).length() == s.length() . |
(package private) static List<String> |
splitNamespace(String s)
Returns
splitNamespace(s, false) . |
(package private) static List<String> |
splitNamespace(String s,
boolean returnParams)
Split s at ::, but taking care of qualified template arguments and qualified function parameters.
|
(package private) static String |
strip(String s)
Remove template arguments from s, taking care of nested templates, default arguments
(xxx<>), operator <=>, -> , etc |
static final Pattern templatePattern
static String strip(String s)
(xxx<>), operator <=>, ->
, etcstatic boolean notExists(String s)
strip(s).length() == s.length()
.static List<String> splitNamespace(String s, boolean returnParams)
Copyright © 2024. All rights reserved.