/** * Goes through the other registered languages to find an exported global symbol of the specified * name. The expected return type is either <code>TruffleObject</code>, or one of wrappers of Java * primitive types ({@link Integer}, {@link Double}). * * @param name the name of the symbol to search for * @return object representing the symbol or <code>null</code> */ @TruffleBoundary public Object importSymbol(String name) { Object object = env.importSymbol(name); Object slValue = fromForeignValue(object); return slValue; }
public CallTarget parse(Source source) throws IOException { return env.parse(source); }