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