| /** |
| * Copyright (c) 2017 CEA. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * CEA - initial API and implementation and/or initial documentation |
| */ |
| /* |
| * generated by Xtext 2.9.1 |
| */ |
| package org.eclipse.sensinact.studio.language.parser.antlr; |
| |
| import java.io.InputStream; |
| import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; |
| |
| public class SensinactAntlrTokenFileProvider implements IAntlrTokenFileProvider { |
| |
| @Override |
| public InputStream getAntlrTokenFile() { |
| ClassLoader classLoader = getClass().getClassLoader(); |
| return classLoader.getResourceAsStream("org/eclipse/sensinact/studio/language/parser/antlr/internal/InternalSensinact.tokens"); |
| } |
| } |