blob: bb524b299bb9ba18d7b5f847a0982d6cf560751b [file] [log] [blame]
grammar t034tokenLabelPropertyRef;
options {
language = JavaScript;
}
@header {
var xlog = [];
}
a: t=A
{
xlog.push($t.text);
xlog.push($t.type);
xlog.push($t.line);
xlog.push($t.pos);
xlog.push($t.channel);
xlog.push($t.index);
}
;
A: 'a'..'z';
WS :
( ' '
| '\t'
| ( '\n'
| '\r\n'
| '\r'
)
)+
{ $channel = org.antlr.runtime.Token.HIDDEN_CHANNEL; }
;