
org.antlr.v4.test.runtime.templates.Sets.UnicodeEscapedSMPSet.stg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime-testsuite Show documentation
Show all versions of runtime-testsuite Show documentation
A collection of tests for ANTLR 4 Runtime libraries.
The newest version!
TestType() ::= "Parser"
Options ::= [
"Debug": false
]
Grammar ::= [
"T": {}
]
Input() ::= "a𝗂𝗎𝖺c"
Rule() ::= "a"
Output() ::= <<
a𝗂𝗎𝖺c<\n>
>>
Errors() ::= ""
grammar(grammarName) ::= <<
grammar ;
a : LETTERS {} ;
// Note the double-backslash to avoid Java passing
// unescaped values as part of the grammar.
LETTERS : ('a'|'\\u{1D5BA}'|'\\u{1D5BE}'|'\\u{1D5C2}'|'\\u{1D5C8}'|'\\u{1D5CE}')* 'c';
>>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy