Class DSLExpression
java.lang.Object
com.oracle.truffle.dsl.processor.expression.DSLExpression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic final classstatic final classstatic final classstatic final classstatic final classstatic interfacestatic interfacestatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaccept(DSLExpression.DSLExpressionVisitor visitor) asString()abstract booleanfinal Set<ExecutableElement> final Set<VariableElement> final Set<DSLExpression.Variable> flatten()abstract TypeMirrorabstract inthashCode()booleanWhether the node instance is bound.booleanWhether the node instance is bound implicitly.booleanstatic DSLExpressionparse(MessageContainer container, String annotationValueName, String input) static DSLExpressionparseAndResolve(DSLExpressionResolver resolver, MessageContainer container, String annotationValueName, String string) abstract DSLExpressionreduce(DSLExpression.DSLExpressionReducer visitor) static DSLExpressionresolve(DSLExpressionResolver resolver, MessageContainer container, String annotationValueName, DSLExpression expression, String originalString) voidsetResolvedTargetType(TypeMirror resolvedTargetType)
-
Method Details
-
flatten
-
equals
-
hashCode
-
mayAllocate
public boolean mayAllocate() -
isNodeReceiverBound
public boolean isNodeReceiverBound()Whether the node instance is bound. This includes @Bind("$node"). -
isNodeReceiverImplicitlyBound
public boolean isNodeReceiverImplicitlyBound()Whether the node instance is bound implicitly. This ignores @Bind("$node"). -
resolve
public static DSLExpression resolve(DSLExpressionResolver resolver, MessageContainer container, String annotationValueName, DSLExpression expression, String originalString) -
parseAndResolve
public static DSLExpression parseAndResolve(DSLExpressionResolver resolver, MessageContainer container, String annotationValueName, String string) -
parse
public static DSLExpression parse(MessageContainer container, String annotationValueName, String input) -
findBoundExecutableElements
-
findBoundVariableElements
-
findBoundVariables
-
resolveConstant
-
resolveExecutable
-
resolveVariable
-
setResolvedTargetType
-
getResolvedTargetType
-
asString
-
getResolvedType
-
accept
-
reduce
-