use of com.oracle.truffle.dsl.processor.generator.TypeSystemCodeGenerator in project graal by oracle.
the class TruffleProcessor method createGenerators.
private static List<AnnotationProcessor<?>> createGenerators() {
List<AnnotationProcessor<?>> generators = new ArrayList<>();
generators.add(new AnnotationProcessor<>(new TypeSystemParser(), new TypeSystemCodeGenerator()));
generators.add(new AnnotationProcessor<>(NodeParser.createDefaultParser(), new NodeCodeGenerator()));
generators.add(new AnnotationProcessor<>(new LibraryParser(), new LibraryGenerator()));
generators.add(new AnnotationProcessor<>(new ExportsParser(), new ExportsGenerator(new StaticConstants())));
return generators;
}
Aggregations