コード例 #1
0
 protected AbstractElement _predicatedElement(final Assignment it) {
   AbstractElement _xifexpression = null;
   boolean _isPredicated = it.isPredicated();
   if (_isPredicated) {
     _xifexpression = it;
   } else {
     AbstractElement _terminal = it.getTerminal();
     _xifexpression = this.predicatedElement(_terminal);
   }
   return _xifexpression;
 }
コード例 #2
0
 protected boolean _predicated(final Assignment it) {
   boolean _or = false;
   boolean _isPredicated = it.isPredicated();
   if (_isPredicated) {
     _or = true;
   } else {
     AbstractElement _terminal = it.getTerminal();
     boolean _predicated = this.predicated(_terminal);
     _or = _predicated;
   }
   return _or;
 }