< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilerConstants.java

Print this page

        

*** 76,85 **** --- 76,91 ---- DEFAULT_SCRIPT_NAME("Script"), /** function prefix for anonymous functions */ ANON_FUNCTION_PREFIX("L:"), + /** separator for method names of nested functions */ + NESTED_FUNCTION_SEPARATOR("#"), + + /** separator for making method names unique by appending numeric ids */ + ID_FUNCTION_SEPARATOR("-"), + /** method name for Java method that is the program entry point */ PROGRAM(":program"), /** method name for Java method that creates the script function for the program */ CREATE_PROGRAM_FUNCTION(":createProgramFunction"),
< prev index next >