Class BytecodeDSLModels
java.lang.Object
com.oracle.truffle.dsl.processor.model.MessageContainer
com.oracle.truffle.dsl.processor.model.Template
com.oracle.truffle.dsl.processor.bytecode.model.BytecodeDSLModels
- All Implemented Interfaces:
Iterable<MessageContainer>
A Template with one or more
BytecodeDSLModel models.
Typically (when using @GenerateBytecode, only a single model is produced, but for testing
(when using @GenerateBytecodeTestVariants) the parser may produce multiple models, which
allows us to generate multiple interpreters and reuse tests across configurations.-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
MessageContainer.Message -
Field Summary
Fields inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
types -
Constructor Summary
ConstructorsConstructorDescriptionBytecodeDSLModels(ProcessorContext context, TypeElement templateType, AnnotationMirror annotation, List<BytecodeDSLModel> models) -
Method Summary
Methods inherited from class com.oracle.truffle.dsl.processor.model.Template
dump, getContext, getMessageElement, getTemplateType, getTemplateTypeAnnotation, toStringMethods inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, addWarning, addWarning, collectMessages, emitMessages, getMessageAnnotation, getMessageAnnotationValue, getMessages, getMessagesForModification, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesOnGeneratedElementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BytecodeDSLModels
public BytecodeDSLModels(ProcessorContext context, TypeElement templateType, AnnotationMirror annotation, List<BytecodeDSLModel> models)
-
-
Method Details
-
getModels
-
findChildContainers
- Overrides:
findChildContainersin classTemplate
-