@Override protected void setChildren(boolean fillInOffsets) { if (expressionNode != null) { expressionNode.normalize(fillInOffsets); expressionNode.setParent(this); } }
@Override protected void setChildren(boolean fillInOffsets) { if (targetImportNode != null) { targetImportNode.normalize(fillInOffsets); targetImportNode.setParent(this); } }
@Override protected void setChildren(boolean fillInOffsets) { if (expressionNode != null) { expressionNode.normalize(fillInOffsets); expressionNode.setParent(this); } }
@Override protected void setChildren(boolean fillInOffsets) { if (targetImportNode != null) { targetImportNode.normalize(fillInOffsets); targetImportNode.setParent(this); } }
public ExpressionNodeBase copyForInitializer(IScopedNode scopedNode) { ExpressionNodeBase newExpr = copy(); if (newExpr != null) { // If we copied the expression successfully, // set up all the parent pointers within the new subtree. if (scopedNode instanceof NodeBase) { NodeBase node = (NodeBase) scopedNode; newExpr.setParent(node); } newExpr.normalize(false); } return newExpr; }
public ExpressionNodeBase copyForInitializer(IScopedNode scopedNode) { ExpressionNodeBase newExpr = copy(); if (newExpr != null) { // If we copied the expression successfully, // set up all the parent pointers within the new subtree. if (scopedNode instanceof NodeBase) { NodeBase node = (NodeBase) scopedNode; newExpr.setParent(node); } newExpr.normalize(false); } return newExpr; }