code: private static void setSourcePosition(Expression toSet, Expression origNode) {
          toSet.setSourcePosition(origNode);
          if (toSet instanceof PropertyExpression) {
              ((PropertyExpression) toSet).getProperty().setSourcePosition(origNode);
          }
      }
docs: Set the source position of toSet including its property expression if it has one.
  
  @param toSet resulting node
  @param origNode original node