declNode(const char * name, Storage_class sc, typeNode * the_type, exprNode * init, exprNode * bitsize, const Coord coord = Coord::Unknown);
This method makes a declNode with name name, storage class sc, type the_type, initializer (possibly NULL) init, bitfield size (possible NULL) bitsize, and text coordinate coord.
declNode(idNode * id, Storage_class sc, typeNode * the_type, exprNode * init, exprNode * bitsize);
This method is similar to the previous one, but instead of a C character string, it uses an idNode to get the name for the object being declared.
declNode(idNode * name, exprNode * value);
This method is used when building a list of names for an enumerated type; you probably won't need to call this constructor.
declNode(typeNode * the_type, Storage_class sc);
This method is used to create a declaration from an abstract declarator, e.g., the parameter in void foo (int[][40]);