/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: AncestorPattern.java,v 1.2.4.1 2005/09/01 09:19:41 pvedula Exp $
*/
/**
* @author Jacek Ambroziak
* @author Santiago Pericas-Geertsen
* @author Erwin Bolwidt <ejb@klomp.org>
*/
}
}
}
return _loop;
}
}
}
public boolean isWildcard() {
//!!! can be wildcard
return false;
}
return _right.getKernelPattern();
}
public void reduceKernelPattern() {
}
}
}
/*
* The scope of this local var must be the entire method since
* a another pattern may decide to jump back into the loop
*/
final LocalVariableGen local =
if (_right instanceof StepPattern) {
}
else {
if (_right instanceof AncestorPattern) {
}
}
final SyntaxTreeNode p = getParent();
if (p == null || p instanceof Instruction ||
p instanceof TopLevelElement)
{
// do nothing
}
else {
}
}
else {
}
/*
* If _right is an ancestor pattern, backpatch this pattern's false
* list to the loop that searches for more ancestors.
*/
if (_right instanceof AncestorPattern) {
}
}
}
}