17 lines
443 B
Java
17 lines
443 B
Java
|
/*
|
||
|
* generated by Xtext 2.23.0
|
||
|
*/
|
||
|
package fr.n7.parser.antlr;
|
||
|
|
||
|
import java.io.InputStream;
|
||
|
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
|
||
|
|
||
|
public class PDL2AntlrTokenFileProvider implements IAntlrTokenFileProvider {
|
||
|
|
||
|
@Override
|
||
|
public InputStream getAntlrTokenFile() {
|
||
|
ClassLoader classLoader = getClass().getClassLoader();
|
||
|
return classLoader.getResourceAsStream("fr/n7/parser/antlr/internal/InternalPDL2.tokens");
|
||
|
}
|
||
|
}
|