Class PythonPreprocessor

java.lang.Object
pl.decerto.hyperon.runtime.invoker.PythonPreprocessor

public final class PythonPreprocessor extends Object
Purpose of this class is to provide proper python body with enriched function definition and arguments. Name of the function will be normalized - any '.' [dot] character will be replaced with "_" [underscore]. The body of the function will be indented. Other structure will be kept, like spaces and new lines. The result of any #apply method will return something like:

     def test_function(arg1, arg2):
     	return 'this is body'
 
 
  • Constructor Details

    • PythonPreprocessor

      public PythonPreprocessor()
  • Method Details