diff options
Diffstat (limited to 'runtime/CSharp3/Sources/Antlr3.Runtime.Test/StringTemplateOutput.g3')
-rw-r--r-- | runtime/CSharp3/Sources/Antlr3.Runtime.Test/StringTemplateOutput.g3 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/runtime/CSharp3/Sources/Antlr3.Runtime.Test/StringTemplateOutput.g3 b/runtime/CSharp3/Sources/Antlr3.Runtime.Test/StringTemplateOutput.g3 deleted file mode 100644 index 886e48a..0000000 --- a/runtime/CSharp3/Sources/Antlr3.Runtime.Test/StringTemplateOutput.g3 +++ /dev/null @@ -1,36 +0,0 @@ -grammar StringTemplateOutput; - -options { - language=CSharp3; - TokenLabelType=CommonToken; - output=template; -} - -@lexer::namespace{Antlr3.Runtime.Test} -@parser::namespace{Antlr3.Runtime.Test} - -/* - * Parser Rules - */ - -public -compileUnit - : ID integer EOF - -> new(id={$ID.text}, value={$integer.st}) - ; - -integer - : i='int' -> {%{$i.text}} - ; - -/* - * Lexer Rules - */ - -ID - : 'a'..'z'* - ; - -WS - : ' ' - ; |