1 package net.sourceforge.pmd.cpd.cppast; 2 3 /*** 4 * Holds the various attributes of a declaration. This is filled up as the 5 * declaration is parsed. 6 */ 7 8 public class Declaration { 9 /*** 10 * class/struct/union is indicated by CLASS. 11 */ 12 boolean isClass; 13 14 /*** 15 * Indicates if this is a typedef declaration. 16 */ 17 boolean isTypedef; 18 19 /*** 20 * Name of the declarator. 21 */ 22 String name; 23 24 /*** 25 * Scopename. By default, it is the current scope. If the name is declared 26 * with scope override operator, it will be set to that scope. 27 */ 28 Scope scope; 29 }