public boolean add(ASTUnannClassType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTUnannClassTypeList clone() {
   ASTUnannClassTypeList ret = new ASTUnannClassTypeList();
   ret.setList((ArrayList<ASTUnannClassType>) list.clone());
   return ret;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTPostfixexpressionList clone() {
   ASTPostfixexpressionList ret = new ASTPostfixexpressionList();
   ret.setList((ArrayList<ASTPostfixexpression>) list.clone());
   return ret;
 }
 public boolean add(ASTPostfixexpression o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
示例#5
0
 @Override
 @SuppressWarnings("unchecked")
 public ASTTypenamePList clone() {
   ASTTypenamePList ret = new ASTTypenamePList();
   ret.setList((ArrayList<ASTTypenameP>) list.clone());
   return ret;
 }
示例#6
0
 public boolean add(ASTTypenameP o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTEnhancedForStatementNoShortIfList clone() {
   ASTEnhancedForStatementNoShortIfList ret = new ASTEnhancedForStatementNoShortIfList();
   ret.setList((ArrayList<ASTEnhancedForStatementNoShortIf>) list.clone());
   return ret;
 }
 public boolean add(ASTEnhancedForStatementNoShortIf o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
示例#9
0
 public boolean add(ASTNumericType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
示例#10
0
 public boolean add(ASTPtrdeclarator o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
示例#11
0
 @Override
 @SuppressWarnings("unchecked")
 public ASTPtrdeclaratorList clone() {
   ASTPtrdeclaratorList ret = new ASTPtrdeclaratorList();
   ret.setList((ArrayList<ASTPtrdeclarator>) list.clone());
   return ret;
 }
 public boolean add(ASTNoptrabstractpackdeclarator o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 public boolean add(ASTRelationalexpression o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 public ASTEnhancedForStatementNoShortIfList deepClone() {
   ASTEnhancedForStatementNoShortIfList result = new ASTEnhancedForStatementNoShortIfList();
   if (list.size() != 0) {
     Iterator<ASTEnhancedForStatementNoShortIf> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTEnhancedForStatementNoShortIf) iter.next().deepClone());
     }
   }
   for (de.monticore.ast.Comment x : get_PreComments()) {
     result.get_PreComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   for (de.monticore.ast.Comment x : get_PostComments()) {
     result.get_PostComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   return result;
 }
 public ASTNoptrabstractpackdeclaratorList deepClone() {
   ASTNoptrabstractpackdeclaratorList result = new ASTNoptrabstractpackdeclaratorList();
   if (list.size() != 0) {
     Iterator<ASTNoptrabstractpackdeclarator> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTNoptrabstractpackdeclarator) iter.next().deepClone());
     }
   }
   for (de.monticore.ast.Comment x : get_PreComments()) {
     result.get_PreComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   for (de.monticore.ast.Comment x : get_PostComments()) {
     result.get_PostComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   return result;
 }
 public ASTUnannClassTypeList deepClone() {
   ASTUnannClassTypeList result = new ASTUnannClassTypeList();
   if (list.size() != 0) {
     Iterator<ASTUnannClassType> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTUnannClassType) iter.next().deepClone());
     }
   }
   for (de.monticore.ast.Comment x : get_PreComments()) {
     result.get_PreComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   for (de.monticore.ast.Comment x : get_PostComments()) {
     result.get_PostComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   return result;
 }
 public boolean equals(ASTUnannClassTypeList o) {
   return list.equals(o.getList());
 }
 public void clear() {
   list.clear();
 }
 public boolean contains(ASTUnannClassType o) {
   return list.contains(o);
 }
 public void add(int index, ASTUnannClassType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(index, o);
 }
 public ASTUnannClassType get(int index) {
   return list.get(index);
 }
 public int indexOf(ASTUnannClassType o) {
   return list.indexOf(o);
 }
 public <T> T[] toArray(T[] a) {
   return list.toArray(a);
 }
 public List<ASTUnannClassType> subList(int fromIndex, int toIndex) {
   return list.subList(fromIndex, toIndex);
 }
 public boolean remove(Object o) {
   return list.remove(o);
 }
 public int lastIndexOf(Object o) {
   return list.lastIndexOf(o);
 }
 public int hashCode() {
   return list.hashCode();
 }
 public boolean containsAll(Collection<?> c) {
   return list.containsAll(c);
 }
 public boolean isEmpty() {
   return list.isEmpty();
 }
 public int indexOf(Object o) {
   return list.indexOf(o);
 }