Пример #1
0
 @Override
 public boolean accept(final ASTVisitor visitor) {
   if (!visitAll(visitor, specs)) return false;
   for (final Expr ng : preExpr) if (!ng.accept(visitor)) return false;
   for (final Var ng : post) if (!visitor.declared(ng)) return false;
   return true;
 }
Пример #2
0
 @Override
 public boolean accept(final ASTVisitor visitor) {
   return expr.accept(visitor) && visitor.declared(var);
 }
Пример #3
0
 @Override
 public boolean visit(final ASTVisitor visitor) {
   for (final Var v : args) if (!visitor.declared(v)) return false;
   return expr.accept(visitor);
 }
Пример #4
0
 @Override
 public boolean accept(final ASTVisitor visitor) {
   return visitor.inlineFunc(this);
 }
Пример #5
0
 @Override
 public boolean accept(final ASTVisitor visitor) {
   return visitor.dynFuncCall(this) && visitAll(visitor, expr);
 }