< prev index next >

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

Print this page

        

*** 4308,4318 **** * @param block the block we are in * @param function the function we are in * @param ident identifier for block or function where applicable */ private void printSymbols(final Block block, final FunctionNode function, final String ident) { ! if (compiler.getScriptEnvironment()._print_symbols || function.getFlag(FunctionNode.IS_PRINT_SYMBOLS)) { final PrintWriter out = compiler.getScriptEnvironment().getErr(); out.println("[BLOCK in '" + ident + "']"); if (!block.printSymbols(out)) { out.println("<no symbols>"); } --- 4308,4318 ---- * @param block the block we are in * @param function the function we are in * @param ident identifier for block or function where applicable */ private void printSymbols(final Block block, final FunctionNode function, final String ident) { ! if (compiler.getScriptEnvironment()._print_symbols || function.getDebugFlag(FunctionNode.DEBUG_PRINT_SYMBOLS)) { final PrintWriter out = compiler.getScriptEnvironment().getErr(); out.println("[BLOCK in '" + ident + "']"); if (!block.printSymbols(out)) { out.println("<no symbols>"); }
< prev index next >