Helper methods for H2OIMain on both scala versions
H2O Interpreter which is use to interpret scala code
Interpreter classloader which allows multiple interpreters to coexist
Due to a bug in the scala interpreter under scala 2.11 (SI-8935) (Fixed in Scala 2.12) with IMain.valueOfTerm returning None we can hack around it by binding an instance of valuesExtractor into iMain and interpret the "_valuesExtractor.values.put(termName, termValue)".
Enum representing possible results of code interpreted in scala interpreter
Due to a bug in the scala interpreter under scala 2.11 (SI-8935) (Fixed in Scala 2.12) with IMain.valueOfTerm returning None we can hack around it by binding an instance of valuesExtractor into iMain and interpret the "_valuesExtractor.values.put(termName, termValue)". This makes it possible to extract value in IMain in cross-Scala way even though non necessary in Scala 2.12