/** * Called by the {@link AFieldField} node from {@link AFieldField#apply(IAnalysis)}. * @param node the calling {@link AFieldField} node */ public void caseAFieldField(AFieldField node) throws AnalysisException { _visitedNodes.add(node); inAFieldField(node); if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this); } if(node.getTagname() != null ) { node.getTagname().apply(this); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } outAFieldField(node); }
/** * Called by the {@link AFieldField} node from {@link AFieldField#apply(IPOFAnalysis)}. * @param node the calling {@link AFieldField} node */ public void caseAFieldField(AFieldField node) throws AnalysisException { _visitedNodes.add(node); inAFieldField(node); if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this); } if(node.getTagname() != null ) { node.getTagname().apply(this); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } outAFieldField(node); }
/** * Called by the {@link AFieldField} node from {@link AFieldField#apply(IAnalysis)}. * @param node the calling {@link AFieldField} node */ public void caseAFieldField(AFieldField node, Q question) throws AnalysisException { _visitedNodes.add(node); inAFieldField(node, question); if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { node.getAccess().apply(this, question); } if(node.getTagname() != null ) { node.getTagname().apply(this, question); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this, question); } outAFieldField(node, question); }
/** * 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(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 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); }
node.getAccess().apply(this);
/** * Called by the {@link AClassInvariantDefinition} node from {@link AClassInvariantDefinition#apply(IPOFAnalysis)}. * @param node the calling {@link AClassInvariantDefinition} node */ public void caseAClassInvariantDefinition(AClassInvariantDefinition node) throws AnalysisException { _visitedNodes.add(node); inAClassInvariantDefinition(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); } if(node.getExpression() != null && !_visitedNodes.contains(node.getExpression())) { node.getExpression().apply(this); } outAClassInvariantDefinition(node); }
/** * Called by the {@link ARenamedDefinition} node from {@link ARenamedDefinition#apply(IAnalysis)}. * @param node the calling {@link ARenamedDefinition} node */ public void caseARenamedDefinition(ARenamedDefinition node) throws AnalysisException { _visitedNodes.add(node); inARenamedDefinition(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); } if(node.getDef() != null && !_visitedNodes.contains(node.getDef())) { node.getDef().apply(this); } outARenamedDefinition(node); }
/** * Called by the {@link ARenamedDefinition} node from {@link ARenamedDefinition#apply(IPOFAnalysis)}. * @param node the calling {@link ARenamedDefinition} node */ public void caseARenamedDefinition(ARenamedDefinition node) throws AnalysisException { _visitedNodes.add(node); inARenamedDefinition(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); } if(node.getDef() != null && !_visitedNodes.contains(node.getDef())) { node.getDef().apply(this); } outARenamedDefinition(node); }
/** * Called by the {@link AClassInvariantDefinition} node from {@link AClassInvariantDefinition#apply(IAnalysis)}. * @param node the calling {@link AClassInvariantDefinition} node */ public void caseAClassInvariantDefinition(AClassInvariantDefinition node, Q question) throws AnalysisException { _visitedNodes.add(node); inAClassInvariantDefinition(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); } if(node.getExpression() != null && !_visitedNodes.contains(node.getExpression())) { node.getExpression().apply(this, question); } outAClassInvariantDefinition(node, question); }
/** * Called by the {@link AClassInvariantDefinition} node from {@link AClassInvariantDefinition#apply(IAnalysis)}. * @param node the calling {@link AClassInvariantDefinition} node */ public void caseAClassInvariantDefinition(AClassInvariantDefinition node) throws AnalysisException { _visitedNodes.add(node); inAClassInvariantDefinition(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); } if(node.getExpression() != null && !_visitedNodes.contains(node.getExpression())) { node.getExpression().apply(this); } outAClassInvariantDefinition(node); }
/** * Called by the {@link ARenamedDefinition} node from {@link ARenamedDefinition#apply(IAnalysis)}. * @param node the calling {@link ARenamedDefinition} node */ public void caseARenamedDefinition(ARenamedDefinition node, Q question) throws AnalysisException { _visitedNodes.add(node); inARenamedDefinition(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); } if(node.getDef() != null && !_visitedNodes.contains(node.getDef())) { node.getDef().apply(this, question); } outARenamedDefinition(node, question); }
/** * Called by the {@link AFieldField} node from {@link AFieldField#apply(IAnalysis)}. * @param node the calling {@link AFieldField} node */ public A caseAFieldField(AFieldField node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inAFieldField(node, question)); if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { mergeReturns(retVal,node.getAccess().apply(this, question)); } if(node.getTagname() != null ) { mergeReturns(retVal,node.getTagname().apply(this, question)); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this, question)); } mergeReturns(retVal,outAFieldField(node, question)); return retVal; }
/** * Called by the {@link AFieldField} node from {@link AFieldField#apply(IAnalysis)}. * @param node the calling {@link AFieldField} node */ public A caseAFieldField(AFieldField node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inAFieldField(node)); if(node.getAccess() != null && !_visitedNodes.contains(node.getAccess())) { mergeReturns(retVal,node.getAccess().apply(this)); } if(node.getTagname() != null ) { mergeReturns(retVal,node.getTagname().apply(this)); } if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this)); } mergeReturns(retVal,outAFieldField(node)); return retVal; }
node.getAccess().apply(this, question);
node.getAccess().apply(this);
/** * 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; }
mergeReturns(retVal,node.getAccess().apply(this));