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 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 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 SourcePosition getEnd() { if (list.size() != 0) { return get(list.size() - 1).get_SourcePositionEnd(); } return null; }
public SourcePosition getStart() { if (list.size() != 0) { return get(0).get_SourcePositionStart(); } return null; }
public ASTUnannClassType[] toArray() { ASTUnannClassType[] result = new ASTUnannClassType[list.size()]; list.toArray(result); return result; }
public int size() { return list.size(); }
public ASTPostfixexpression[] toArray() { ASTPostfixexpression[] result = new ASTPostfixexpression[list.size()]; list.toArray(result); return result; }
public ASTTypenameP[] toArray() { ASTTypenameP[] result = new ASTTypenameP[list.size()]; list.toArray(result); return result; }
public ASTEnhancedForStatementNoShortIf[] toArray() { ASTEnhancedForStatementNoShortIf[] result = new ASTEnhancedForStatementNoShortIf[list.size()]; list.toArray(result); return result; }
public ASTNumericType[] toArray() { ASTNumericType[] result = new ASTNumericType[list.size()]; list.toArray(result); return result; }
public ASTPtrdeclarator[] toArray() { ASTPtrdeclarator[] result = new ASTPtrdeclarator[list.size()]; list.toArray(result); return result; }
public ASTNoptrabstractpackdeclarator[] toArray() { ASTNoptrabstractpackdeclarator[] result = new ASTNoptrabstractpackdeclarator[list.size()]; list.toArray(result); return result; }
public ASTRelationalexpression[] toArray() { ASTRelationalexpression[] result = new ASTRelationalexpression[list.size()]; list.toArray(result); return result; }
public ASTTypeArguments[] toArray() { ASTTypeArguments[] result = new ASTTypeArguments[list.size()]; list.toArray(result); return result; }