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

org.antlr.v4.test.runtime.templates.ParseTrees.Sync.stg Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
TestType() ::= "Parser"

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

Input() ::= "xzyy!"

Rule() ::= "s"

Output() ::= <<
(a x z y y !)<\n>
>>

Errors() ::= <<
line 1:1 extraneous input 'z' expecting {'y', '!'}<\n>
>>

grammar(grammarName) ::= <<
grammar ;
s
@init {

}
@after {

}
  : r=a ;
a : 'x' 'y'* '!'
  ;
Z : 'z' 
  ;
>>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy