Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java @ 21889:45083be8a812
Truffle: add a version string to the information provided with Language registration
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Fri, 05 Jun 2015 18:05:13 -0700 |
parents | 2f9e4d984d16 |
children | 894f82515e38 |
comparison
equal
deleted
inserted
replaced
21755:c052d68e7eac | 21889:45083be8a812 |
---|---|
68 * {@link Language#getName()} getter. | 68 * {@link Language#getName()} getter. |
69 * | 69 * |
70 * @return identifier of your language | 70 * @return identifier of your language |
71 */ | 71 */ |
72 String name(); | 72 String name(); |
73 | |
74 /** | |
75 * Unique string identifying the language version. This name will be exposed to users via | |
76 * the {@link Language#getVersion()} getter. | |
77 * | |
78 * @return version of your language | |
79 */ | |
80 String version(); | |
73 | 81 |
74 /** | 82 /** |
75 * List of MIME types associated with your language. Users will use them (directly or | 83 * List of MIME types associated with your language. Users will use them (directly or |
76 * indirectly) when {@link TruffleVM#eval(java.lang.String, java.lang.String) executing} | 84 * indirectly) when {@link TruffleVM#eval(java.lang.String, java.lang.String) executing} |
77 * their code snippets or their {@link TruffleVM#eval(java.net.URI) files}. | 85 * their code snippets or their {@link TruffleVM#eval(java.net.URI) files}. |