Searched refs:catchNode (Results 1 - 13 of 13) sorted by relevance

/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DCatchNode.java75 private CatchNode(final CatchNode catchNode, final Expression exception, final Expression exceptionCondition, argument
77 super(catchNode);
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/
H A DIRTranslator.java162 public boolean enterCatchNode(final CatchNode catchNode) { argument
385 for (final CatchNode catchNode : catchNodes) {
386 catchTrees.add(new CatchTreeImpl(catchNode,
387 translateExpr(catchNode.getException()),
388 (BlockTree) translateBlock(catchNode.getBody()),
389 translateExpr(catchNode.getExceptionCondition())));
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/
H A DPrintVisitor.java380 final CatchNode catchNode = (CatchNode)catchBlock.getStatements().get(0);
381 catchNode.toString(sb, printTypes);
382 catchNode.getBody().accept(this);
H A DJSONWriter.java250 public boolean enterCatchNode(final CatchNode catchNode) { argument
251 enterDefault(catchNode);
257 catchNode.getException().accept(this);
260 final Node guard = catchNode.getExceptionCondition();
268 catchNode.getBody().accept(this);
H A DNashornTextifier.java1044 void addTryCatch(final String tryNode, final String catchNode) { argument
1045 Set<String> tryNodes = exceptionMap.get(catchNode);
1048 exceptionMap.put(catchNode, tryNodes);
1051 addEdge(tryNode, catchNode);
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/
H A DNodeVisitor.java263 * @param catchNode the node
266 public boolean enterCatchNode(final CatchNode catchNode) { argument
267 return enterDefault(catchNode);
273 * @param catchNode the node
276 public Node leaveCatchNode(final CatchNode catchNode) { argument
277 return leaveDefault(catchNode);
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/
H A DOptimisticTypesCalculator.java118 public boolean enterCatchNode(final CatchNode catchNode) { argument
120 tagNeverOptimistic(catchNode.getExceptionCondition());
H A DWeighNodes.java154 public Node leaveCatchNode(final CatchNode catchNode) { argument
156 return catchNode;
H A DAssignSymbols.java464 public boolean enterCatchNode(final CatchNode catchNode) { argument
465 final IdentNode exception = catchNode.getExceptionIdentifier();
468 start(catchNode);
477 final Symbol symbol = defineSymbol(block, exname, catchNode, IS_VAR | IS_LET | (isInternal ? IS_INTERNAL : 0) | HAS_OBJECT_VALUE);
H A DLower.java181 public boolean enterCatchNode(final CatchNode catchNode) { argument
182 Expression exception = catchNode.getException();
190 public Node leaveCatchNode(final CatchNode catchNode) { argument
191 return addStatement(catchNode);
H A DLocalVariableTypesCalculator.java1055 for(final CatchNode catchNode: tryNode.getCatches()) {
1056 final IdentNode exception = catchNode.getExceptionIdentifier();
1058 final Expression condition = catchNode.getExceptionCondition();
1063 final Block catchBody = catchNode.getBody();
H A DCodeGenerator.java3257 final CatchNode catchNode = (CatchNode)catchBlocks.get(i).getStatements().get(0);
3258 final IdentNode exception = catchNode.getExceptionIdentifier();
3259 final Expression exceptionCondition = catchNode.getExceptionCondition();
3260 final Block catchBody = catchNode.getBody();
3271 if (catchNode.isSyntheticRethrow()) {
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/
H A DParser.java2658 final CatchNode catchNode = new CatchNode(catchLine, catchToken, finish, exception, ifExpression, catchBody, false);
2659 appendStatement(catchNode);

Completed in 146 milliseconds