All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.antlr.v4.test.runtime.templates.Sets.UnicodeEscapedSMPRangeSetMismatch.stg Maven / Gradle / Ivy

The newest version!
TestType() ::= "Parser"

Options ::= [
	"Debug": false
]

Grammar ::= [
	"T": {}
]

Input() ::= "a🗿🥄d"

Rule() ::= "a"

Output() ::= <<
ad<\n>
>>

Errors() ::= <<
line 1:1 token recognition error at: '🗿'
line 1:2 token recognition error at: '🥄'<\n>
>>

grammar(grammarName) ::= <<
grammar ;
a : LETTERS* 'd' {} ;
// Note the double-backslash to avoid Java passing
// unescaped values as part of the grammar.
LETTERS : ('a'|'\\u{1F600}'..'\\u{1F943}');
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy