Skip to content

Commit

Permalink
Merge pull request #22 from jtulach/master
Browse files Browse the repository at this point in the history
Snapshot of Truffle APIs as of truffle-0.11 release
  • Loading branch information
jtulach committed Jan 28, 2016
2 parents 7f679ea + b49b960 commit 4938ef5
Show file tree
Hide file tree
Showing 5 changed files with 233 additions and 5 deletions.
111 changes: 111 additions & 0 deletions truffle/com.oracle.truffle.api.interop/snapshot.sigtest
Original file line number Diff line number Diff line change
@@ -1,14 +1,42 @@
#Signature file v4.1
#Version

CLSS public abstract interface !annotation com.oracle.truffle.api.interop.AcceptMessage
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=SOURCE)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE])
intf java.lang.annotation.Annotation
meth public abstract java.lang.Class<? extends com.oracle.truffle.api.TruffleLanguage<?>> language()
meth public abstract java.lang.Class<?> receiverType()
meth public abstract java.lang.String value()

CLSS public final com.oracle.truffle.api.interop.ArityException
meth public int getActualArity()
meth public int getExpectedArity()
meth public static java.lang.RuntimeException raise(int,int)
supr com.oracle.truffle.api.interop.InteropException
hfds actualArity,expectedArity,serialVersionUID

CLSS public final com.oracle.truffle.api.interop.ForeignAccess
innr public abstract interface static Factory
innr public abstract interface static Factory10
meth public !varargs static java.lang.Object execute(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object[])
anno 0 java.lang.Deprecated()
meth public !varargs static java.lang.Object send(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object[]) throws com.oracle.truffle.api.interop.InteropException
meth public !varargs static java.lang.Object sendExecute(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object[]) throws com.oracle.truffle.api.interop.ArityException,com.oracle.truffle.api.interop.UnsupportedMessageException,com.oracle.truffle.api.interop.UnsupportedTypeException
meth public !varargs static java.lang.Object sendInvoke(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.String,java.lang.Object[]) throws com.oracle.truffle.api.interop.ArityException,com.oracle.truffle.api.interop.UnknownIdentifierException,com.oracle.truffle.api.interop.UnsupportedMessageException,com.oracle.truffle.api.interop.UnsupportedTypeException
meth public !varargs static java.lang.Object sendNew(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object[]) throws com.oracle.truffle.api.interop.ArityException,com.oracle.truffle.api.interop.UnsupportedMessageException,com.oracle.truffle.api.interop.UnsupportedTypeException
meth public java.lang.String toString()
meth public static boolean sendHasSize(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject)
meth public static boolean sendIsBoxed(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject)
meth public static boolean sendIsExecutable(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject)
meth public static boolean sendIsNull(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject)
meth public static com.oracle.truffle.api.interop.ForeignAccess create(com.oracle.truffle.api.interop.ForeignAccess$Factory)
meth public static com.oracle.truffle.api.interop.ForeignAccess create(java.lang.Class<? extends com.oracle.truffle.api.interop.TruffleObject>,com.oracle.truffle.api.interop.ForeignAccess$Factory10)
meth public static com.oracle.truffle.api.interop.TruffleObject getReceiver(com.oracle.truffle.api.frame.Frame)
meth public static java.lang.Object sendGetSize(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject) throws com.oracle.truffle.api.interop.UnsupportedMessageException
meth public static java.lang.Object sendRead(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object) throws com.oracle.truffle.api.interop.UnknownIdentifierException,com.oracle.truffle.api.interop.UnsupportedMessageException
meth public static java.lang.Object sendUnbox(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject) throws com.oracle.truffle.api.interop.UnsupportedMessageException
meth public static java.lang.Object sendWrite(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.interop.TruffleObject,java.lang.Object,java.lang.Object) throws com.oracle.truffle.api.interop.UnknownIdentifierException,com.oracle.truffle.api.interop.UnsupportedMessageException,com.oracle.truffle.api.interop.UnsupportedTypeException
meth public static java.util.List<java.lang.Object> getArguments(com.oracle.truffle.api.frame.Frame)
supr java.lang.Object
hfds factory,initThread
Expand All @@ -34,6 +62,10 @@ meth public abstract com.oracle.truffle.api.CallTarget accessRead()
meth public abstract com.oracle.truffle.api.CallTarget accessUnbox()
meth public abstract com.oracle.truffle.api.CallTarget accessWrite()

CLSS public abstract com.oracle.truffle.api.interop.InteropException
supr java.lang.Exception
hfds serialVersionUID

CLSS public abstract com.oracle.truffle.api.interop.Message
cons protected init()
fld public final static com.oracle.truffle.api.interop.Message GET_SIZE
Expand All @@ -57,6 +89,35 @@ supr java.lang.Object
CLSS public abstract interface com.oracle.truffle.api.interop.TruffleObject
meth public abstract com.oracle.truffle.api.interop.ForeignAccess getForeignAccess()

CLSS public final com.oracle.truffle.api.interop.UnknownIdentifierException
meth public java.lang.String getUnknownIdentifier()
meth public static java.lang.RuntimeException raise(java.lang.String)
supr com.oracle.truffle.api.interop.InteropException
hfds serialVersionUID,unknownIdentifier

CLSS public final com.oracle.truffle.api.interop.UnsupportedMessageException
meth public com.oracle.truffle.api.interop.Message getUnsupportedMessage()
meth public static java.lang.RuntimeException raise(com.oracle.truffle.api.interop.Message)
supr com.oracle.truffle.api.interop.InteropException
hfds message,serialVersionUID

CLSS public final com.oracle.truffle.api.interop.UnsupportedTypeException
meth public java.lang.Object[] getSuppliedValues()
meth public static java.lang.RuntimeException raise(java.lang.Object[])
supr com.oracle.truffle.api.interop.InteropException
hfds serialVersionUID,suppliedValues

CLSS public abstract interface java.io.Serializable

CLSS public java.lang.Exception
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
supr java.lang.Throwable
hfds serialVersionUID

CLSS public java.lang.Object
cons public init()
meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
Expand All @@ -71,3 +132,53 @@ meth public final void wait(long,int) throws java.lang.InterruptedException
meth public int hashCode()
meth public java.lang.String toString()

CLSS public java.lang.Throwable
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
intf java.io.Serializable
meth public final java.lang.Throwable[] getSuppressed()
meth public final void addSuppressed(java.lang.Throwable)
meth public java.lang.StackTraceElement[] getStackTrace()
meth public java.lang.String getLocalizedMessage()
meth public java.lang.String getMessage()
meth public java.lang.String toString()
meth public java.lang.Throwable fillInStackTrace()
meth public java.lang.Throwable getCause()
meth public java.lang.Throwable initCause(java.lang.Throwable)
meth public void printStackTrace()
meth public void printStackTrace(java.io.PrintStream)
meth public void printStackTrace(java.io.PrintWriter)
meth public void setStackTrace(java.lang.StackTraceElement[])
supr java.lang.Object
hfds CAUSE_CAPTION,EMPTY_THROWABLE_ARRAY,NULL_CAUSE_MESSAGE,SELF_SUPPRESSION_MESSAGE,SUPPRESSED_CAPTION,SUPPRESSED_SENTINEL,UNASSIGNED_STACK,backtrace,cause,detailMessage,serialVersionUID,stackTrace,suppressedExceptions
hcls PrintStreamOrWriter,SentinelHolder,WrappedPrintStream,WrappedPrintWriter

CLSS public abstract interface java.lang.annotation.Annotation
meth public abstract boolean equals(java.lang.Object)
meth public abstract int hashCode()
meth public abstract java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
meth public abstract java.lang.String toString()

CLSS public abstract interface !annotation java.lang.annotation.Documented
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation

CLSS public abstract interface !annotation java.lang.annotation.Retention
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation
meth public abstract java.lang.annotation.RetentionPolicy value()

CLSS public abstract interface !annotation java.lang.annotation.Target
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation
meth public abstract java.lang.annotation.ElementType[] value()

1 change: 0 additions & 1 deletion truffle/com.oracle.truffle.api.profiles/snapshot.sigtest
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ hcls Disabled,Enabled

CLSS public abstract com.oracle.truffle.api.profiles.Profile
supr com.oracle.truffle.api.nodes.NodeCloneable
hfds ENABLED

CLSS public abstract com.oracle.truffle.api.profiles.ValueProfile
meth public abstract <%0 extends java.lang.Object> {%%0} profile({%%0})
Expand Down
5 changes: 3 additions & 2 deletions truffle/com.oracle.truffle.api.vm/snapshot.sigtest
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,21 @@ meth public static com.oracle.truffle.api.vm.PolyglotEngine$Builder buildNew()
meth public static com.oracle.truffle.api.vm.PolyglotEngine$Builder newBuilder()
meth public void dispose()
supr java.lang.Object
hfds JAVA_INTEROP_ENABLED,LOG,SPI,debugger,disposed,err,executor,globals,handlers,in,initThread,instrumenter,langs,out
hfds JAVA_INTEROP_ENABLED,LOG,SPI,config,debugger,disposed,err,executor,globals,handlers,in,initThread,instrumenter,langs,out
hcls SPIAccessor

CLSS public com.oracle.truffle.api.vm.PolyglotEngine$Builder
outer com.oracle.truffle.api.vm.PolyglotEngine
meth public com.oracle.truffle.api.vm.PolyglotEngine build()
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder config(java.lang.String,java.lang.String,java.lang.Object)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder executor(java.util.concurrent.Executor)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder globalSymbol(java.lang.String,java.lang.Object)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder onEvent(com.oracle.truffle.api.vm.EventConsumer<?>)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder setErr(java.io.OutputStream)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder setIn(java.io.InputStream)
meth public com.oracle.truffle.api.vm.PolyglotEngine$Builder setOut(java.io.OutputStream)
supr java.lang.Object
hfds err,executor,globals,handlers,in,out
hfds arguments,err,executor,globals,handlers,in,out

CLSS public com.oracle.truffle.api.vm.PolyglotEngine$Language
outer com.oracle.truffle.api.vm.PolyglotEngine
Expand Down
8 changes: 6 additions & 2 deletions truffle/com.oracle.truffle.api/snapshot.sigtest
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,15 @@ hcls AccessAPI,LangCtx
CLSS public final static com.oracle.truffle.api.TruffleLanguage$Env
outer com.oracle.truffle.api.TruffleLanguage
meth public !varargs com.oracle.truffle.api.CallTarget parse(com.oracle.truffle.api.source.Source,java.lang.String[]) throws java.io.IOException
meth public boolean isMimeTypeSupported(java.lang.String)
meth public com.oracle.truffle.api.instrument.Instrumenter instrumenter()
meth public java.io.InputStream in()
meth public java.io.OutputStream err()
meth public java.io.OutputStream out()
meth public java.lang.Object importSymbol(java.lang.String)
meth public java.util.Map<java.lang.String,java.lang.Object> getConfig()
supr java.lang.Object
hfds err,in,instrumenter,lang,langCtx,out,vm
hfds config,err,in,instrumenter,lang,langCtx,out,vm

CLSS public abstract interface static !annotation com.oracle.truffle.api.TruffleLanguage$Registration
outer com.oracle.truffle.api.TruffleLanguage
Expand Down Expand Up @@ -295,7 +297,7 @@ meth public static com.oracle.truffle.api.frame.FrameDescriptor create(java.lang
anno 0 java.lang.Deprecated()
meth public void removeFrameSlot(java.lang.Object)
supr java.lang.Object
hfds defaultValue,identifierToNotInFrameAssumptionMap,identifierToSlotMap,slots,version
hfds NEVER_PART_OF_COMPILATION_MESSAGE,defaultValue,identifierToNotInFrameAssumptionMap,identifierToSlotMap,slots,version

CLSS public abstract interface com.oracle.truffle.api.frame.FrameInstance
innr public final static !enum FrameAccess
Expand All @@ -319,6 +321,7 @@ meth public abstract {com.oracle.truffle.api.frame.FrameInstanceVisitor%0} visit

CLSS public final com.oracle.truffle.api.frame.FrameSlot
cons public init(com.oracle.truffle.api.frame.FrameDescriptor,java.lang.Object,java.lang.Object,int,com.oracle.truffle.api.frame.FrameSlotKind)
anno 0 java.lang.Deprecated()
intf java.lang.Cloneable
meth public com.oracle.truffle.api.frame.FrameDescriptor getFrameDescriptor()
meth public com.oracle.truffle.api.frame.FrameSlotKind getKind()
Expand Down Expand Up @@ -753,6 +756,7 @@ meth protected static com.oracle.truffle.api.nodes.NodeFieldAccessor create(com.
meth public abstract java.lang.Object getObject(com.oracle.truffle.api.nodes.Node)
meth public abstract java.lang.Object loadValue(com.oracle.truffle.api.nodes.Node)
meth public abstract void putObject(com.oracle.truffle.api.nodes.Node,java.lang.Object)
anno 0 java.lang.Deprecated()
meth public com.oracle.truffle.api.nodes.NodeFieldAccessor$NodeFieldKind getKind()
meth public java.lang.Class<?> getDeclaringClass()
meth public java.lang.Class<?> getType()
Expand Down
Loading

0 comments on commit 4938ef5

Please sign in to comment.