You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
353 B
29 lines
353 B
7 months ago
|
grammar t037rulePropertyRef;
|
||
|
options {
|
||
|
language =Cpp;
|
||
|
}
|
||
|
|
||
|
@lexer::includes
|
||
|
{
|
||
|
#include "UserTestTraits.hpp"
|
||
|
}
|
||
|
@lexer::namespace
|
||
|
{ Antlr3Test }
|
||
|
|
||
|
@parser::includes {
|
||
|
#include "UserTestTraits.hpp"
|
||
|
}
|
||
|
@parser::namespace
|
||
|
{ Antlr3Test }
|
||
|
|
||
|
a returns [bla]
|
||
|
@after {
|
||
|
$bla = $start, $stop, $text
|
||
|
}
|
||
|
: A+
|
||
|
;
|
||
|
|
||
|
A: 'a'..'z';
|
||
|
|
||
|
WS: ' '+ { $channel = HIDDEN };
|