Class TypeNode.UnionOfStringLiteralsTypeNode

  • All Implemented Interfaces:
    com.oracle.truffle.api.nodes.NodeInterface, java.lang.Cloneable
    Enclosing class:
    TypeNode

    public static final class TypeNode.UnionOfStringLiteralsTypeNode
    extends TypeNode.ObjectSlotTypeNode
    • Method Detail

      • getElementTypeMirrors

        public VmList getElementTypeMirrors()
      • execute

        public void execute​(com.oracle.truffle.api.frame.VirtualFrame frame,
                            java.lang.Object value)
        Description copied from class: TypeNode
        Checks if `value` conforms to this type. If so, returns normally. Otherwise, throws a `VmTypeMismatchException`.
        Specified by:
        execute in class TypeNode
      • createDefaultValue

        public @Nullable java.lang.Object createDefaultValue​(VmLanguage language,
                                                             com.oracle.truffle.api.source.SourceSection headerSection,
                                                             java.lang.String qualifiedName)
        Overrides:
        createDefaultValue in class TypeNode