Class GuardExpression
java.lang.Object
com.oracle.truffle.dsl.processor.model.MessageContainer
com.oracle.truffle.dsl.processor.model.GuardExpression
- All Implemented Interfaces:
Iterable<MessageContainer>
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy(SpecializationData newSpecialization) booleanimplies(GuardExpression other) booleanisConstantTrueInSlowPath(boolean uncached) booleanbooleanbooleanvoidsetFastPathIdempotent(boolean idempotent) voidsetLibraryAcceptsGuard(boolean forceConstantTrueInSlowPath) voidsetWeakReferenceGuard(boolean weakReferenceGuard) toString()Methods inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, collectMessages, emitMessages, findChildContainers, 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
-
GuardExpression
-
-
Method Details
-
copy
-
getMessageElement
- Specified by:
getMessageElementin classMessageContainer
-
getMessageAnnotation
- Overrides:
getMessageAnnotationin classMessageContainer
-
getMessageAnnotationValue
- Overrides:
getMessageAnnotationValuein classMessageContainer
-
isFastPathIdempotent
public boolean isFastPathIdempotent() -
setFastPathIdempotent
public void setFastPathIdempotent(boolean idempotent) -
getExpression
-
setLibraryAcceptsGuard
public void setLibraryAcceptsGuard(boolean forceConstantTrueInSlowPath) -
isWeakReferenceGuard
public boolean isWeakReferenceGuard() -
setWeakReferenceGuard
public void setWeakReferenceGuard(boolean weakReferenceGuard) -
isLibraryAcceptsGuard
public boolean isLibraryAcceptsGuard() -
toString
-
isConstantTrueInSlowPath
public boolean isConstantTrueInSlowPath(boolean uncached) -
implies
-