public void setDeclarator(IASTDeclarator declarator) {
   assertNotFrozen();
   this.declarator = declarator;
   if (declarator != null) {
     declarator.setParent(this);
     declarator.setPropertyInParent(DECLARATOR);
   }
 }
Ejemplo n.º 2
0
 @Override
 public void setNestedDeclarator(IASTDeclarator nested) {
   assertNotFrozen();
   this.nested = nested;
   if (nested != null) {
     nested.setParent(this);
     nested.setPropertyInParent(NESTED_DECLARATOR);
   }
 }