/** * Called by the {@link AUntypedDefinition} node from {@link AUntypedDefinition#apply(IAnalysis)}. * @param node the calling {@link AUntypedDefinition} node */ public void caseAUntypedDefinition(AUntypedDefinition node) throws AnalysisException { _visitedNodes.add(node); inAUntypedDefinition(node); if(node.getName() != null ) { node.getName().apply(this); } if(node.getClassDefinition() != null && !_visitedNodes.contains(node.getClassDefinition())) { node.getClassDefinition().apply(this); } if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } outAUntypedDefinition(node); }
/** * Called by the {@link AUntypedDefinition} node from {@link AUntypedDefinition#apply(IAnalysis)}. * @param node the calling {@link AUntypedDefinition} node */ public void caseAUntypedDefinition(AUntypedDefinition node, Q question) throws AnalysisException { _visitedNodes.add(node); inAUntypedDefinition(node, question); if(node.getName() != null ) { node.getName().apply(this, question); } if(node.getClassDefinition() != null && !_visitedNodes.contains(node.getClassDefinition())) { node.getClassDefinition().apply(this, question); } if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this, question); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this, question); } outAUntypedDefinition(node, question); }
/** * Called by the {@link AUntypedDefinition} node from {@link AUntypedDefinition#apply(IPOFAnalysis)}. * @param node the calling {@link AUntypedDefinition} node */ public void caseAUntypedDefinition(AUntypedDefinition node) throws AnalysisException { _visitedNodes.add(node); inAUntypedDefinition(node); if(node.getName() != null ) { node.getName().apply(this); } if(node.getClassDefinition() != null && !_visitedNodes.contains(node.getClassDefinition())) { node.getClassDefinition().apply(this); } if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } outAUntypedDefinition(node); }
/** * Called by the {@link AUntypedDefinition} node from {@link AUntypedDefinition#apply(IAnalysis)}. * @param node the calling {@link AUntypedDefinition} node */ public A caseAUntypedDefinition(AUntypedDefinition node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inAUntypedDefinition(node)); if(node.getName() != null ) { mergeReturns(retVal,node.getName().apply(this)); } if(node.getClassDefinition() != null && !_visitedNodes.contains(node.getClassDefinition())) { mergeReturns(retVal,node.getClassDefinition().apply(this)); } if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { mergeReturns(retVal,node.getAccess().apply(this)); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this)); } mergeReturns(retVal,outAUntypedDefinition(node)); return retVal; }
/** * Called by the {@link AUntypedDefinition} node from {@link AUntypedDefinition#apply(IAnalysis)}. * @param node the calling {@link AUntypedDefinition} node */ public A caseAUntypedDefinition(AUntypedDefinition node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inAUntypedDefinition(node, question)); if(node.getName() != null ) { mergeReturns(retVal,node.getName().apply(this, question)); } if(node.getClassDefinition() != null && !_visitedNodes.contains(node.getClassDefinition())) { mergeReturns(retVal,node.getClassDefinition().apply(this, question)); } if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { mergeReturns(retVal,node.getAccess().apply(this, question)); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this, question)); } mergeReturns(retVal,outAUntypedDefinition(node, question)); return retVal; }