org.contextmapper.dsl.parser.antlr.ContextMappingDSLAntlrTokenFileProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of context-mapper-dsl Show documentation
Show all versions of context-mapper-dsl Show documentation
Use the ContextMapper DSL in your standalone application.
/*
* generated by Xtext 2.20.0
*/
package org.contextmapper.dsl.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
public class ContextMappingDSLAntlrTokenFileProvider implements IAntlrTokenFileProvider {
@Override
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = getClass().getClassLoader();
return classLoader.getResourceAsStream("org/contextmapper/dsl/parser/antlr/internal/InternalContextMappingDSL.tokens");
}
}