Package org.antlr.v4.unicode
Class UnicodeDataTemplateController
- java.lang.Object
-
- org.antlr.v4.unicode.UnicodeDataTemplateController
-
public abstract class UnicodeDataTemplateController extends java.lang.ObjectStringTemplate controller used to generate parameters to feed tounicodedata.stto code-generateUnicodeData.java, used by the tool for Unicode property escapes like\\p\{Lu\}. Uses ICU to iterate over Unicode character categories, properties, and script codes, as well as aliases for those codes. This class exists in its own Maven module to avoid adding a dependency from the tool onto the (large) ICU runtime.
-
-
Constructor Summary
Constructors Constructor Description UnicodeDataTemplateController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>getProperties()
-