Java Code Examples for org.eclipse.xtext.AbstractElement#isPredicated()

The following examples show how to use org.eclipse.xtext.AbstractElement#isPredicated() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
protected boolean shouldTraverse(AbstractElement object) {
	return !object.isPredicated() || alreadyChecked.add(object);
}
 
Example 2
private void pushChecked(AbstractElement element) {
	if (element.isPredicated()) {
		elementStack.push(element);
	}
}
 
Example 3
private void popChecked(AbstractElement element) {
	if (element.isPredicated()) {
		elementStack.pop();
	}
}
 
Example 4
protected boolean _predicated(final AbstractElement it) {
  return it.isPredicated();
}