nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
equal
deleted
inserted
replaced
1401 |
1401 |
1402 if (errMan.hasErrors()) { |
1402 if (errMan.hasErrors()) { |
1403 return null; |
1403 return null; |
1404 } |
1404 } |
1405 |
1405 |
1406 if (env._print_ast || functionNode.getFlag(FunctionNode.IS_PRINT_AST)) { |
1406 if (env._print_ast || functionNode.getDebugFlag(FunctionNode.DEBUG_PRINT_AST)) { |
1407 getErr().println(new ASTWriter(functionNode)); |
1407 getErr().println(new ASTWriter(functionNode)); |
1408 } |
1408 } |
1409 |
1409 |
1410 if (env._print_parse || functionNode.getFlag(FunctionNode.IS_PRINT_PARSE)) { |
1410 if (env._print_parse || functionNode.getDebugFlag(FunctionNode.DEBUG_PRINT_PARSE)) { |
1411 getErr().println(new PrintVisitor(functionNode, true, false)); |
1411 getErr().println(new PrintVisitor(functionNode, true, false)); |
1412 } |
1412 } |
1413 } |
1413 } |
1414 |
1414 |
1415 if (env._parse_only) { |
1415 if (env._parse_only) { |