| /******************************************************************************* |
| * Copyright (c) 2015 itemis AG (http://www.itemis.eu) and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| *******************************************************************************/ |
| package com.itemis.xtext.codebuff |
| |
| import org.eclipse.xtend.lib.annotations.Data |
| |
| @Data |
| class Antlr4Grammar extends org.eclipse.xtext.xtext.generator.parser.antlr.AntlrGrammar{ |
| |
| override String getGrammarFileName() { |
| name.replace('.', '/') + ".g4" |
| } |
| } |