# HG changeset patch # User Jaroslav Tulach # Date 1447919620 -3600 # Node ID 2acc64b458480a8005de0eed9890c02cf212bfda # Parent 37fabf84537a53b7994b9b8867bd3f4439dfc775 Documentation for additional arguments diff -r 37fabf84537a -r 2acc64b45848 truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java --- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java Wed Nov 18 12:49:12 2015 +0100 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java Thu Nov 19 08:53:40 2015 +0100 @@ -198,6 +198,7 @@ * asks all known languages for onlyExplicit symbols and only when none is found, * it does one more round with onlyExplicit set to false. * + * @param context context to locate the global symbol in * @param globalName the name of the global symbol to find * @param onlyExplicit should the language seek for implicitly exported object or only consider * the explicitly exported ones? @@ -213,6 +214,7 @@ * language) but technically it can be one of Java primitive wrappers ({@link Integer}, * {@link Double}, {@link Short}, etc.). * + * @param context context to find the language global in * @return the global object or null if the language does not support such concept */ protected abstract Object getLanguageGlobal(C context);