Exemplo n.º 1
0
 @Override
 public void setBody(IASTStatement statement) {
   assertNotFrozen();
   body = statement;
   if (statement != null) {
     statement.setParent(this);
     statement.setPropertyInParent(BODY);
   }
 }
Exemplo n.º 2
0
 @Override
 public void setThenClause(IASTStatement thenClause) {
   assertNotFrozen();
   this.thenClause = thenClause;
   if (thenClause != null) {
     thenClause.setParent(this);
     thenClause.setPropertyInParent(THEN);
   }
 }
Exemplo n.º 3
0
 @Override
 public void setInitializerStatement(IASTStatement statement) {
   assertNotFrozen();
   init = statement;
   if (statement != null) {
     statement.setParent(this);
     statement.setPropertyInParent(INITIALIZER);
   }
 }
Exemplo n.º 4
0
 @Override
 public void setElseClause(IASTStatement elseClause) {
   assertNotFrozen();
   this.elseClause = elseClause;
   if (elseClause != null) {
     elseClause.setParent(this);
     elseClause.setPropertyInParent(ELSE);
   }
 }