mirror of https://github.com/Minres/RDL-Editor.git
17 lines
459 B
Java
17 lines
459 B
Java
|
/*
|
||
|
* generated by Xtext 2.26.0
|
||
|
*/
|
||
|
package com.minres.rdl.parser.antlr;
|
||
|
|
||
|
import java.io.InputStream;
|
||
|
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
|
||
|
|
||
|
public class RDLAntlrTokenFileProvider implements IAntlrTokenFileProvider {
|
||
|
|
||
|
@Override
|
||
|
public InputStream getAntlrTokenFile() {
|
||
|
ClassLoader classLoader = getClass().getClassLoader();
|
||
|
return classLoader.getResourceAsStream("com/minres/rdl/parser/antlr/internal/InternalRDL.tokens");
|
||
|
}
|
||
|
}
|